[Zope3-dev] problems with <browser:widget>
Dylan Reinhardt
dylanreinhardt at gmail.com
Wed Aug 24 10:09:44 EDT 2005
On 8/24/05, Adam Groszer <adamg at fw.hu> wrote:
> If I modify the addform configuration by adding the <widget>:
> <browser:addform
> schema="szscreen.interfaces.ISzemely"
> content_factory="szscreen.app.Szemely"
> label="Uj Szemely"
> name="AddSzemely.html"
> permission="zope.ManageContent"
> set_before_add="name"
> >
> <widget field="szerepek" class="zope.app.form.browser.OrderedMultiSelectWidget"/>
> </browser:addform>
> I get an exception:
You posted code for ISzerep, but your addform schema uses ISzemely.
Might this have something to do with your problem?
HTH,
Dylan
More information about the Zope3-dev
mailing list