On Tuesday 28 November 2006 07:57, Dennis Schulz wrote: > Here is the interface: > > countrySelect = Choice( > title=u"countrySelect", > description=u"countrySelect", > values=vocabulary)
This should be vocabulary=vocabulary. > I think there should not be any problems on vocabulary etc since the add > form can render without any problems and custom widgets. > > Maybe there is a problem with default values? How is it possible to set > the selected value in a SelectWidget? Your error seems to be that your content component does not have the "countrySelect" attribute. Make sure it does have this attribute. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users