[Grok-dev] schema.Object

Christian Klinger cklinger at novareto.de
Wed Jul 21 05:33:09 EDT 2010


Sascha,

i think the problem is you don't return the right object.
Maybe you have to turn on pdb to look what goes on.

Christian


>   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
>
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev




More information about the Grok-dev mailing list