Re: [Zope3-Users] Using a multicheckboxwidget instead of a multiselectsetwidget

2005-06-23 Thread Stephan Richter
On Wednesday 08 June 2005 10:43, Jan-Wijbrand Kolman wrote: > In mywidgets.py: > >   from zope.app.form.browser import MultiCheckBoxWidget as > MultiCheckBoxWidget_ def MultiCheckBoxWidget(field, request): >     vocabulary = field.value_type.vocabulary >     return MultiCheckBoxWidget_(field, vocab

Re: [Zope3-Users] Using a multicheckboxwidget instead of a multiselectsetwidget

2005-06-08 Thread Jan-Wijbrand Kolman
Jan-Wijbrand Kolman wrote: > I have a interface defined for some content type, say IFoo. IFoo defines one > schema field: > > _filetypes = SimpleVocabulary.fromValues(('fropple', 'frepple', 'froople')) > > class IFoo(Interface): > > filetypes = Set( > title=u'', > required=Fa