web/views/tableview.py
branchstable
changeset 5504 97ed78b54956
parent 5503 5b7eb0839da3
child 5508 6718ba5db0eb
child 5528 5d1b2ae7d459
--- a/web/views/tableview.py	Mon May 10 15:14:13 2010 +0200
+++ b/web/views/tableview.py	Mon May 10 15:14:47 2010 +0200
@@ -287,8 +287,7 @@
         """
         etype, val = self.cw_rset.description[row][col], self.cw_rset[row][col]
         if val is not None and not self._cw.vreg.schema.eschema(etype).final:
-            e = self.cw_rset.get_entity(row, col)
-            e.view(cellvid or 'outofcontext', w=self.w)
+            self.wview(cellvid or 'outofcontext', self.cw_rset, row=row, col=col)
         elif val is None:
             # This is usually caused by a left outer join and in that case,
             # regular views will most certainly fail if they don't have