[Grok-dev] schema.Object
Sascha Boch
sascha.boch at gmx.de
Wed Jul 21 05:28:17 EDT 2010
Ok, but how do I do this?
I played a bit with CustomWidgetFactory and ObjectWidget but no joy yet. I
plugged the following to lines into the form class and it renders okay.
However, it does not save the data because the validation fails.
object_widget = CustomWidgetFactory(ObjectWidget, FooField)
form_fields['data_fields_ext'].custom_widget =
CustomWidgetFactory(SequenceWidget, subwidget=object_widget)
Any further hint is appreciated!
Thanks,
Sascha
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20100721/06ca242e/attachment.html
More information about the Grok-dev
mailing list