use self.rset / self.row
authorsylvain.thenault@logilab.fr
Fri, 30 Jan 2009 15:30:15 +0100
changeset 531 d33f80ff1b72
parent 530 9b56df97ec5f
child 532 ce3e94cbb074
use self.rset / self.row
web/views/baseviews.py
--- a/web/views/baseviews.py	Fri Jan 30 15:29:30 2009 +0100
+++ b/web/views/baseviews.py	Fri Jan 30 15:30:15 2009 +0100
@@ -255,11 +255,11 @@
                 #    continue
                 self._render_related_entities(entity, *relatedinfos)
             self.w(u'</div>')
-        for box in self.vreg.possible_vobjects('boxes', self.req, entity.rset,
-                                               col=entity.col, row=entity.row,
-                                               view=self, context='incontext'):
+        for box in self.vreg.possible_vobjects('boxes', self.req, self.rset,
+                                               row=self.row, view=self,
+                                               context='incontext'):
             try:
-                box.dispatch(w=self.w, col=entity.col, row=entity.row)
+                box.dispatch(w=self.w, row=self.row)
             except NotImplementedError:
                 # much probably a context insensitive box, which only implements
                 # .call() and not cell_call()