> So we can loop through from general to specific, set up the
> forms with conf files, get a hash for forms and the most
> specific one is still named 'form' for the template.
sub edit : Local Form(/books/edit,/searchform) {
OK, so, now it works, I think. If you specify multiple forms,
the first becomes 'form' and all of them are available in
'forms'.
It makes 'forms' multi-level, so '/books/edit' would be
available as $c->forms->{books}->{edit} or in the template as
forms.books.edit.
Please let me know what you think. I haven't written tests.
Mark
Catalyst_Plugin_FormBuilder_multipleforms.diff
Description: Catalyst_Plugin_FormBuilder_multipleforms.diff
FormBuilder.pm
Description: FormBuilder.pm
_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|