[Grok-dev] schema_fields and form_fields
Martijn Faassen
faassen at infrae.com
Fri Oct 20 04:07:13 EDT 2006
Hi there,
I noticed that there is now a function called schema_fields to access
the schema-level fields of class.
I wonder whether this could be replaced with support for form_fields on
the level of the view class. form_fields is a formlib concept that also
allows the custom setting of widgets, like this:
form_fields['my_field'].widget = MyWidget
I think there's also a way to get to the underlying schema field from
the form_fields mapping.
Perhaps this is already available - I'm just reading checkin comments
and didn't spend a lot of time reading code.
Regards,
Martijn
More information about the Grok-dev
mailing list