Re: [Zope3-Users] z3c.form and subforms in an AddForm?

2007-06-16 Thread gnosis
Thanks for your response Marius >Really? Usually in Zope 3 (zope.app.form or zope.formlib) the context >of an add form is the IAdding view. To get the container you have to >use self.context.context. The default implementation according to z3c.form documentation is that an AddForm is registere

[Zope3-Users] z3c.form and subforms in an AddForm?

2007-06-15 Thread gnosis
I've been trying out the new z3c form package and like what I see. I am having problems getting a subform in an AddForm though. The subform.txt covers EditForms where you have a context object to work on, in an AddForm the context is the underlying IContainer. Here is what I have, using formdem