web/box.py
changeset 445 18cc518d5e33
parent 431 18b4dd650ef8
child 455 c4b630e7d0f8
--- a/web/box.py	Mon Jan 19 19:24:00 2009 +0100
+++ b/web/box.py	Mon Jan 19 19:46:33 2009 +0100
@@ -14,9 +14,9 @@
     accepts_registerer, extresources_registerer,
     etype_rtype_priority_registerer)
 from cubicweb.common.selectors import (
-    etype_rtype_selector, one_line_rset, accept, accept_rtype_selector,
+    etype_rtype_selector, one_line_rset, accept, has_relation,
     primary_view, match_context_prop, has_related_entities,
-    _rqlcondition_selector)
+    _rql_condition)
 from cubicweb.common.view import Template
 from cubicweb.common.appobject import ReloadableMixIn
 
@@ -152,8 +152,7 @@
     __registerer__ = accepts_registerer
     __selectors__ = (one_line_rset, primary_view,
                      match_context_prop, etype_rtype_selector,
-                     accept_rtype_selector, accept,
-                     _rqlcondition_selector)
+                     has_relation, accept, _rql_condition)
     accepts = ('Any',)
     context = 'incontext'
     condition = None