components should be visible by default, applmessages components should not be hideable
--- a/web/views/basecomponents.py Wed May 27 16:36:17 2009 +0200
+++ b/web/views/basecomponents.py Wed May 27 16:41:15 2009 +0200
@@ -20,7 +20,7 @@
BoxLink)
VISIBLE_PROP_DEF = {
- _('visible'): dict(type='Boolean', default=False,
+ _('visible'): dict(type='Boolean', default=True,
help=_('display the component or not')),
}
@@ -125,9 +125,8 @@
"""
__select__ = yes()
id = 'applmessages'
- property_defs = VISIBLE_PROP_DEF
# don't want user to hide this component using an cwproperty
- site_wide = True
+ property_defs = {}
def call(self):
msgs = [msg for msg in (self.req.get_shared_data('sources_error', pop=True),