web/views/baseviews.py
changeset 237 3df2e0ae2eba
parent 213 6842c3dee34b
child 251 de7e74ff03f8
--- a/web/views/baseviews.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/web/views/baseviews.py	Fri Dec 19 15:16:09 2008 +0100
@@ -21,8 +21,8 @@
 from logilab.mtconverter import html_escape, TransformError
 
 from cubicweb import Unauthorized, NoSelectableObject, typed_eid
-from cubicweb.common.selectors import (yes_selector, anyrset_selector, accept_selector,
-                                    onelinerset_selector, searchstate_selector, 
+from cubicweb.common.selectors import (yes, nonempty_rset, accept_selector,
+                                    one_line_rset, searchstate_selector, 
                                     req_form_params_selector, accept_rset_selector)
 from cubicweb.common.uilib import (cut, printable_value,  UnicodeCSVWriter,
                                 ajax_replace_url, rql_for_eid)
@@ -36,7 +36,7 @@
 class NullView(AnyRsetView):
     """default view when no result has been found"""
     id = 'null'
-    __select__ = classmethod(yes_selector)
+    __select__ = classmethod(yes)
     def call(self, **kwargs):
         pass
     cell_call = call
@@ -761,7 +761,7 @@
     """
     id = 'search-associate'
     title = _('search for association')
-    __selectors__ = (onelinerset_selector, searchstate_selector, accept_selector)
+    __selectors__ = (one_line_rset, searchstate_selector, accept_selector)
     accepts = ('Any',)
     search_states = ('linksearch',)