[Grok-dev] Attribute error from Grok Development Book Chapter 5 source code.

Michael Thamm webmaster at morningcat.com
Sun Jan 9 15:19:27 EST 2011


Hi,
The way I got it to work was to not omit the field and hide in the widget.

 self.widgets['next_id'].type = 'hidden'
 self.widgets['next_id'].label = ''
 self.widgets['next_id'].required = False

It works now and can add, but I'm wondering if this is the best way.

Also, how do I reply and make sure it says in this thread?
Is it just based on the subject?

Thanks
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20110109/92648a65/attachment.html 


More information about the Grok-dev mailing list