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'),
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'Berech
Hi!
I'm having serious problems with getting a selectwidget/
dropdownwidget working..
What I want to do is to add a widget for the language field of a
MessageCatalog.
Btw, a snippet from the interface (in zope.app.i18n.messagecatalog):
class IMessageCatalog(Interface):
#...
language
You are probably experiencing a ValidationError in the .validate() method of
your "language" field. This is probably because TextLine expect the values
to be unicode whereas the vocabulary in your widget has (8-bit) string
values ("voc = SimpleVocabulary.fromItems([('de','German'),
('en','English