[Zope3-Users] z3c:layout - not working with z3c.form.EditForm

2008-01-29 Thread kevin gill
I am having a problem configuring a layout template. It works with z3c.form.DisplayForm but not with z3c.form.EditForm. formdemo works fine for me. It seems to use an identical approach. Thanks, Kevin --- Here is the details to

Re: [Zope3-Users] z3c:layout - not working with z3c.form.EditForm

2008-01-29 Thread kevin gill
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 Thanks, Kevin I am

Re: [Zope3-Users] z3c:layout - not working with z3c.form.EditForm

2008-01-29 Thread Stephan Richter
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,