Christian Klinger schrieb:
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

I got it i have to use a schema.List(...)

Thx Christian

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to