[Catalyst] More than one form per page with C::C::FormBuilder?
Robert 'phaylon' Sedlacek
rs at 474.at
Mon Feb 12 11:31:14 GMT 2007
Danny Warren wrote:
> What I end up with when viewing the "foo" action page is two
> "foo_search" forms. I understand why this happening, from an internals
> standpoint, but I am not sure how to get around it without ugly hacking.
> I would like to be able to keep the niceness of the "Form" pragma in
> the controller and all the cool things that go along with it.
I haven't done it, but I guess you could do one form per controller by
changing the stashed variable names in the controller configuration.
--
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' rs at 474.at ', Web => ' http://474.at ' }
More information about the Catalyst
mailing list