diff -r 39721e56b56d -r 99115e029dca web/views/basecomponents.py --- a/web/views/basecomponents.py Wed Feb 18 00:48:24 2009 +0100 +++ b/web/views/basecomponents.py Wed Feb 18 01:21:25 2009 +0100 @@ -118,7 +118,7 @@ """display application's messages given using the __message parameter into a special div section """ - __selectors__ = yes, + __select__ = yes() id = 'applmessages' site_wide = True # don't want user to hide this component using an eproperty @@ -136,8 +136,8 @@ class WFHistoryVComponent(EntityVComponent): """display the workflow history for entities supporting it""" id = 'wfhistory' - __selectors__ = EntityVComponent.__selectors__ + ( - relation_possible('wf_info_for', role='object'),) + __select__ = (EntityVComponent.__select__ + & relation_possible('wf_info_for', role='object')) context = 'navcontentbottom' title = _('Workflow history') @@ -241,14 +241,14 @@ class RSSFeedURL(Component): id = 'rss_feed_url' - __selectors__ = (non_final_entity(),) + __select__ = non_final_entity() def feed_url(self): return self.build_url(rql=self.limited_rql(), vid='rss') class RSSEntityFeedURL(Component): id = 'rss_feed_url' - __selectors__ = (non_final_entity(), one_line_rset) + __select__ = non_final_entity() & one_line_rset() def feed_url(self): return self.entity(0, 0).rss_feed_url()