web/views/tableview.py
changeset 237 3df2e0ae2eba
parent 16 a70ece4d9d1a
child 431 18b4dd650ef8
--- a/web/views/tableview.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/web/views/tableview.py	Fri Dec 19 15:16:09 2008 +0100
@@ -14,7 +14,7 @@
 from cubicweb.common.utils import make_uid
 from cubicweb.common.uilib import toggle_action, limitsize, jsonize, htmlescape
 from cubicweb.common.view import EntityView, AnyRsetView
-from cubicweb.common.selectors import (anyrset_selector,  req_form_params_selector,
+from cubicweb.common.selectors import (nonempty_rset,  req_form_params_selector,
                                     accept_rset_selector)
 from cubicweb.web.htmlwidgets import (TableWidget, TableColumn, MenuWidget,
                                    PopupBoxMenu, BoxLink)
@@ -249,7 +249,7 @@
 
     
 class CellView(EntityView):
-    __selectors__ = (anyrset_selector, accept_rset_selector)
+    __selectors__ = (nonempty_rset, accept_rset_selector)
     
     id = 'cell'
     accepts = ('Any',)
@@ -285,7 +285,7 @@
       displayed with default restrictions set
     """
     id = 'initialtable'
-    __selectors__ = anyrset_selector, req_form_params_selector
+    __selectors__ = nonempty_rset, req_form_params_selector
     form_params = ('actualrql',)
     # should not be displayed in possible view since it expects some specific
     # parameters