if EntityBoxTemplate now uses _rqlcondition_selector, it must also define a default condition attribute
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 08 Dec 2008 08:56:08 +0100
changeset 183 fe4d6025f712
parent 182 45a810beed18
child 184 92aebc6b533c
if EntityBoxTemplate now uses _rqlcondition_selector, it must also define a default condition attribute
web/box.py
--- a/web/box.py	Sun Dec 07 14:24:19 2008 +0100
+++ b/web/box.py	Mon Dec 08 08:56:08 2008 +0100
@@ -156,6 +156,7 @@
                      _rqlcondition_selector)
     accepts = ('Any',)
     context = 'incontext'
+    condition = None
     
     def call(self, row=0, col=0, **kwargs):
         """classes inheriting from EntityBoxTemplate should defined cell_call,