entity.py
changeset 3459 e134d2dd9992
parent 3452 7c008d31ef1f
child 3589 a5432f99f2d9
--- a/entity.py	Wed Sep 23 20:13:31 2009 +0200
+++ b/entity.py	Thu Sep 24 00:23:32 2009 +0200
@@ -263,7 +263,9 @@
 
     def view(self, vid, __registry='views', **kwargs):
         """shortcut to apply a view on this entity"""
-        view = self._cw.vreg[__registry].select(vid, self._cw, rset=self.cw_rset, **kwargs)
+        view = self._cw.vreg[__registry].select(vid, self._cw, rset=self.cw_rset,
+                                                row=self.cw_row, col=self.cw_col,
+                                                **kwargs)
         return view.render(row=self.cw_row, col=self.cw_col, **kwargs)
 
     def absolute_url(self, *args, **kwargs):