[Grok-dev] schema_fields and form_fields

Philipp von Weitershausen philipp at weitershausen.de
Fri Oct 20 06:53:03 EDT 2006

Martijn Faassen wrote:
> 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

that's actually .custom_widget = MyWidget

> I think there's also a way to get to the underlying schema field from 
> the form_fields mapping.


More information about the Grok-dev mailing list