branch | tls-sprint |
changeset 688 | cddfbdee0eb3 |
parent 0 | b97547f5f1fa |
child 728 | a95b284150d1 |
--- a/web/views/wfentities.py Tue Feb 17 20:34:20 2009 +0100 +++ b/web/views/wfentities.py Tue Feb 17 20:39:09 2009 +0100 @@ -6,11 +6,13 @@ """ __docformat__ = "restructuredtext en" +from cubicweb.selectors import implements from cubicweb.common.view import EntityView class CellView(EntityView): id = 'cell' - accepts = ('TrInfo',) + __selectors__ = implements('TrInfo') + def cell_call(self, row, col, cellvid=None): entity = self.entity(row, col) self.w(entity.printable_value('comment'))