web/views/primary.py
branchtls-sprint
changeset 1723 30c3a713ab61
parent 1721 694f6a50e138
child 1726 08918409815e
--- a/web/views/primary.py	Mon May 11 11:30:42 2009 +0200
+++ b/web/views/primary.py	Mon May 11 11:55:10 2009 +0200
@@ -125,11 +125,11 @@
                                                 self.req, self.rset, row=self.row,
                                                 view=self, context=context):
             try:
-                comp.dispatch(w=self.w, row=self.row, view=self)
+                comp.render(w=self.w, row=self.row, view=self)
             except NotImplementedError:
                 warn('component %s doesnt implement cell_call, please update'
                      % comp.__class__, DeprecationWarning)
-                comp.dispatch(w=self.w, view=self)
+                comp.render(w=self.w, view=self)
         self.w(u'</div>')
 
     def render_entity_title(self, entity):
@@ -183,11 +183,11 @@
                 self.w(u'</div>')
             else:
                 try:
-                    box.dispatch(w=self.w, row=self.row)
+                    box.render(w=self.w, row=self.row)
                 except NotImplementedError:
                     # much probably a context insensitive box, which only implements
                     # .call() and not cell_call()
-                    box.dispatch(w=self.w)
+                    box.render(w=self.w)
 
     def _prepare_side_boxes(self, entity):
         sideboxes = []