branch | tls-sprint |
changeset 659 | 5d754a1933cb |
parent 658 | b5c73b5cdc68 |
child 661 | 4f61eb8a96b7 |
--- a/web/component.py Tue Feb 17 13:54:23 2009 +0100 +++ b/web/component.py Tue Feb 17 14:00:17 2009 +0100 @@ -17,7 +17,11 @@ _ = unicode -class VComponent(ComponentMixIn, View): pass +class VComponent(ComponentMixIn, View): + property_defs = { + _('visible'): dict(type='Boolean', default=True, + help=_('display the box or not')), + } class EntityVComponent(VComponent): """abstract base class for additinal components displayed in content