web/views/navigation.py
branchtls-sprint
changeset 742 99115e029dca
parent 692 800592b8d39b
child 834 50d5ca1180b1
--- a/web/views/navigation.py	Wed Feb 18 00:48:24 2009 +0100
+++ b/web/views/navigation.py	Wed Feb 18 01:21:25 2009 +0100
@@ -51,7 +51,7 @@
     """sorted navigation apply if navigation is needed (according to page size)
     and if the result set is sorted
     """
-    __selectors__ = (paginated_rset, sorted_rset)
+    __select__ = paginated_rset() & sorted_rset()
     
     # number of considered chars to build page links
     nb_chars = 5
@@ -180,8 +180,8 @@
     # itself
     title = _('contentnavigation_prevnext')
     help = _('contentnavigation_prevnext_description')
-    __selectors__ = (one_line_rset, primary_view,
-                     match_context_prop, implements(IPrevNext))
+    __select__ = (one_line_rset() & primary_view()
+                  & match_context_prop() & implements(IPrevNext))
     context = 'navbottom'
     order = 10
     def call(self, view=None):