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

2007-06-21 Thread Mats Nordgren
Thanks Stephan, I have now got the sub form to render in browser. Much appreciated. 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 the sub form data is in self.request.form. What i

Re: [Zope3-Users] Default Skins for certain sites - how?

2007-06-21 Thread Rupert Redington
Hi Hermann, I do this by registering a subscriber for zope.app.publication.interfaces.IBeforeTraverseEvent: the handler sets the skin: (note that my site objects have a site_skin attribute which allows me to switch skins.) def skinTraverseSubscriber(event): """ Sets the skin during travers