web/views/basecomponents.py
changeset 237 3df2e0ae2eba
parent 143 c4f11f70b75e
child 431 18b4dd650ef8
--- a/web/views/basecomponents.py	Fri Dec 19 14:55:00 2008 +0100
+++ b/web/views/basecomponents.py	Fri Dec 19 15:16:09 2008 +0100
@@ -14,7 +14,7 @@
 
 from cubicweb import Unauthorized
 from cubicweb.common.uilib import html_escape, toggle_action
-from cubicweb.common.selectors import yes_selector, nfentity_selector, onelinerset_selector
+from cubicweb.common.selectors import yes, nfentity_selector, one_line_rset
 from cubicweb.schema import display_name
 from cubicweb.common.selectors import (chainfirst, multitype_selector,
                                     req_form_params_selector)
@@ -114,7 +114,7 @@
     """display application's messages given using the __message parameter
     into a special div section
     """
-    __selectors__ = yes_selector,
+    __selectors__ = yes,
     id = 'applmessages'
     site_wide = True # don't want user to hide this component using an eproperty
 
@@ -245,7 +245,7 @@
 
 class RSSEntityFeedURL(VComponent):
     id = 'rss_feed_url'
-    __selectors__ = (nfentity_selector, onelinerset_selector)
+    __selectors__ = (nfentity_selector, one_line_rset)
     
     def feed_url(self):
         return self.entity(0, 0).rss_feed_url()