web/views/tableview.py
changeset 4045 f4a52abb6f4f
parent 4023 eae23c40627a
child 4252 6c4f109c2b03
--- a/web/views/tableview.py	Tue Dec 08 16:46:56 2009 +0100
+++ b/web/views/tableview.py	Tue Dec 08 16:50:36 2009 +0100
@@ -262,7 +262,7 @@
         :param cellvid: cell view (defaults to 'outofcontext')
         """
         etype, val = self.cw_rset.description[row][col], self.cw_rset[row][col]
-        if val is not None and not self._cw.schema.eschema(etype).final:
+        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)
         elif val is None: