author | sylvain.thenault@logilab.fr |
Tue, 17 Feb 2009 14:00:17 +0100 | |
branch | tls-sprint |
changeset 659 | 5d754a1933cb |
parent 658 | b5c73b5cdc68 |
child 660 | 5233a9457f6b |
child 675 | eab61515d76a |
web/component.py | file | annotate | diff | comparison | revisions |
--- 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