On Tuesday 29 January 2008, kevin gill wrote:
> In answer to my own question, the EditForm must also inherit from the
> z3c.formuilayout.FormLayoutSupport class. This code now works:
>
>     from z3c.form import form
>     from z3c.formui import layout
>
>     class IndexForm(layout.FormLayoutSupport, form.EditForm):
>         pass

BTW, there is also z3c.formui.form that also defines an EditForm class that 
does the form layout support mixin for you. It also prevents a nasty 
recursion error when something goes wrong.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to