web/component.py
branchtls-sprint
changeset 1511 514e4e53a3c7
parent 1433 091ac3ba5d51
child 1661 00340ebedc24
--- a/web/component.py	Tue Apr 28 16:23:09 2009 +0200
+++ b/web/component.py	Tue Apr 28 16:23:28 2009 +0200
@@ -62,6 +62,11 @@
     id = 'navigation'
     __select__ = paginated_rset()
 
+    property_defs = {
+        _('visible'):  dict(type='Boolean', default=True,
+                            help=_('display the component or not')),
+        }
+
     page_size_property = 'navigation.page-size'
     start_param = '__start'
     stop_param = '__stop'