[Grok-dev] Problem with grok.AddForm, grok.Adapter and widgets

Hannes hannes.flocke at gmx.li
Sat Jan 30 12:35:39 EST 2010


Hi Martijn;

I didn't try because I didn't know how to the make a Factory method (or 
class).
So, I can just name it xyzFactory() or what?

thanks.
> Hannes wrote:
>   
>> Hi Martijn,
>>
>> thanks for the fast reply!
>>     
>
> So did you try making a factory like this and passing them to the 
> CustomWidgetFactory?
>
> def versionFactory():
>     return Version(1, 2, 3, 4, 5)
>
> Regards,
>
> Martijn
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20100130/47ef338b/attachment.html 


More information about the Grok-dev mailing list