defaults_from_model does only default settings.

To fill select/checkbox group/whatever else, one must add to .yml file:

db:
 model: (name-of-your-Catalyst-model)
 resultset: (name-of-proper-resultset)
 label_column: (column to put into label)

It is not documented anywhere but can be extracted from HTML/FormFu/Element/_Group.pm.

I'm still researching case of incorrect SQL statement for many_to_many model.

Alex.


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to