Double usage of vocabulary in z3c.form seems to fail
Hi, I currently have two schema.Choice() fields in my z3c.form - based form, that references the same vocabulary. runjobs = Choice( title = u'Job', vocabulary=('cronjobsVocabulary'), required = False) cronjobs = Choice( title = u'Periodic Jobs', vocabulary=('cronjobsVocabulary'), required = False) However, when trying to get data from this field in my ActionHandler, strange things happen: It seems that one choice field conflicts with the other, especially it seems, that only one field is used. Any clue why? How can I solve that - perhaps I should register the same vocabulary a second time under a different name? Best Regards, Hermann -- hermann@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
Am Freitag 17 Oktober 2008 18:06:34 schrieb Hermann Himmelbauer:
Hi, I currently have two schema.Choice() fields in my z3c.form - based form, that references the same vocabulary.
Aeh, sorry, forget about it - I had a mistake in my page template, which referenced the same widget for two times, hence the failure... Best Regards, Hermann -- hermann@qwer.tk GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
participants (1)
-
Hermann Himmelbauer