[Grok-dev] Re: z3c.form

Tim Terlegård tim.terlegard at valentinewebsystems.se
Mon Jul 21 02:27:54 EDT 2008


> On Tue, 15.07.2008 at 21:09:25 +0200, Tim Terlegård <tim.terlegard at valentinewebsystems.se 
> > wrote:
>> On Jul 15, 2008, at 8:17 PM, Toni Mueller wrote:
>
>> so MyAddForm(self.context, self.request) would perhaps work better.
>
> 'self.context' does not exist at that point.

Ah, right. I guess it would be better to register the add form the  
usual way
with configure.zcml. Then you wouldn't need to use the traverse method.

/Tim


More information about the Grok-dev mailing list