--- a/web/box.py Tue Sep 27 16:04:30 2011 +0200
+++ b/web/box.py Wed Sep 28 09:27:42 2011 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
# This file is part of CubicWeb.
@@ -118,7 +118,8 @@
related to the current result set.
"""
- rql = None
+ # to be defined in concrete classes
+ rql = title = None
def to_display_rql(self):
assert self.rql is not None, self.__regid__
@@ -168,7 +169,7 @@
subclasses should define at least id, rtype and target
class attributes.
"""
-
+ rtype = None
def cell_call(self, row, col, view=None, **kwargs):
self._cw.add_js('cubicweb.ajax.js')
entity = self.cw_rset.get_entity(row, col)