[Zope3-Users] Choice Field with MultiCheckBoxWidget?

Christian Klinger cklinger at novareto.de
Tue Oct 2 09:22:41 EDT 2007


Hi,

i try to have a form with an ChoiceField rendered as a MultiCheckBoxWidget.

interfaces.py
---------------------------------------------------------
     berechtigung = schema.Choice(title=_(u'Berechtigung'),
                                    description=_(u'Berechtiung'),
                                    missing_value=None,
 
#value_type=schema.Choice(vocabulary="VocabularyBerechtigungen"))
                                    vocabulary="VocabularyBerechtigungen")


browser.py:
----------------------------------------------------------
     form_fields['berechtigung'].custom_widget = MultiCheckBox??


Where can i find a MulitCheckBoxWidget?
Is this the right way to do this?

Christian



More information about the Zope3-users mailing list