Re: [Zope3-Users] z3c.form - How to register IFormLayer?

2007-06-22 Thread Stephan Richter
On Thursday 21 June 2007 02:06, Hermann Himmelbauer wrote: Thanks, I temporarily fixed my problem by creating a skin which inherits from Rotterdam + IFormLayer, now z3c.form work. Yes, this will work. It seems as if the trend is going away from ZMI - is that true? At least for me,

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

2007-06-22 Thread Stephan Richter
On Thursday 21 June 2007 15:03, Mats Nordgren wrote: I have now got the sub form to render in browser.  Much appreciated. Cool. A few more questions though.  In the create method, the data is only the parent data.  The self.widgets.extract() returns only parent data.  The only place I see

Re: [Zope3-Users] Application instantiation without ZMI

2007-06-22 Thread Stephan Richter
On Wednesday 20 June 2007 10:43, Hermann Himmelbauer wrote: How did you do that? I managed it the following way: -- snip --- from zope.app.appsetup.interfaces import IDatabaseOpenedWithRootEvent from zope.app.appsetup.bootstrap import getInformationFromEvent

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

2007-06-22 Thread Mats Nordgren
Stephan, Thanks again for you help. I'm still having the ErrorViewSnippet problem. I've gone over and over the message example in formdemo and can't see anything different in my setup from the demo. The demo works fine but mine throws the ErrorViewSnippet error when I submit an AddForm with

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

2007-06-22 Thread Mats Nordgren
Just access your sub-form. In the new Address Book demo of z3c.formdemo, the sub-forms are responsible of creating sub-objects, so there you simply can ask for the content like this: form.subForm.getContent(). In edit forms you do not have to do anything, because you are modifying thos sub-

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

2007-06-22 Thread Stephan Richter
On Friday 22 June 2007 14:36, Mats Nordgren wrote: I'm still having the ErrorViewSnippet problem.  I've gone over and over the message example in formdemo and can't see anything different in my setup from the demo.  The demo works fine but mine throws the ErrorViewSnippet error when I submit

Re: [Zope3-dev] Re: [Zope3-Users] z3c.form 1.0.0 released!

2007-06-22 Thread Stephan Richter
On Wednesday 06 June 2007 11:11, Hermann Himmelbauer wrote: I'm currently studying your doctests in z3c.form and I have to say, they are really nice to read and understandable! Thanks! Great! I am glad you like it. I'm through with forms.txt and found some minor issues, so I attached a

[Zope3-Users] z3c.form 1.3.0, z3c.formui 1.0.1, and z3c.formdemo 1.1.0 released!

2007-06-22 Thread Stephan Richter
Hello everyone, Roger and I have received a great deal of feedback about the z3c.form* packages. Several people reported that they immediately started using it for their development. Thanks to those people, we were able to identify many bugs and determined new features. The result is a new

[Zope3-Users] Re: [Zope] z3c.form 1.3.0, z3c.formui 1.0.1, and z3c.formdemo 1.1.0 released!

2007-06-22 Thread David Pratt
Hi Stephan. This is some really awesome work and some great new examples as well. There is more to explore and to anticipate with ajax - it is all really very excellent. When running the demo, I needed to add zope.rdb to the setup.py and its corresponding meta and configuration files to