implement render() instead of cell_call() to match new component api stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 Jan 2011 11:28:06 +0100
branchstable
changeset 258 de9994e3b47e
parent 257 503cdf0700a4
child 259 ae94b5caf5c2
implement render() instead of cell_call() to match new component api
views/entry.py
--- a/views/entry.py	Fri Nov 05 10:30:02 2010 +0100
+++ b/views/entry.py	Thu Jan 06 11:28:06 2011 +0100
@@ -65,7 +65,7 @@
 class BlogEntryWFHistoryVComponent(workflow.WFHistoryVComponent):
     __select__ = workflow.WFHistoryVComponent.__select__ & is_instance('BlogEntry')
 
-    def cell_call(self, row, col, view=None):
+    def render(self, w, **kwargs):
         pass
 
 class BlogEntrySameETypeListView(baseviews.SameETypeListView):