[html-formfu] Catalyst basecontroller troubles this time :p

Andreas Marienborg omega at palle.net
Mon Feb 11 08:11:41 GMT 2008


On Feb 11, 2008, at 9:00 AM, Andreas Marienborg wrote:

> Hey :p
>
> If thats not possible, how can I create the form in the action by  
> myself and still have label_loc etc just magicaly work, without  
> duplicating too much code and config?
>

To reply to self:

$self->form in the controller works nicely. Might I suggest the  
"examples" below FormConfig etc change

my $form = HTML::FormFu->new

into

my $form = $self->form

which makes it more "correct", in terms of reusing config etc which  
FormConfig etc does

- andreas



More information about the HTML-FormFu mailing list