web/views/basecomponents.py
branchstable
changeset 1968 d3de0f44b57b
parent 1937 fc702ea02b25
child 1977 606923dff11b
--- 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),