Yup, from the controller. Example: sub login : Local : FormConfig { my ($self, $c) = @_; my $form = $c->stash->{form}; .. .. if($form->submitted_and_valid) { .. .. $password = $form->param_value('password'); .. .. } }
And some YAML config for the actual form. Using Catalyst::Controller::HTML::FormFu 0.09003 and FormFu 0.09005, haven't updated yet. 2012/7/23 Carl Franks <fireart...@gmail.com> > On 23 July 2012 10:25, Jan Grmela <jan.grm...@imakers.cz> wrote: > > I've found the problem causing the non-working translation. Actually, > FormFu > > isn't loading it's config from MyApp->config() set in MyApp.pm which is > > really weird. When I put the configuration values to myapp.yml, the > > translation started to work as desired! > > Strange. > Are you getting the form object from the controller > ($controller->form), and not instantiating it yourself > (HTML::FormFu->new) ? > Carl > > _______________________________________________ > HTML-FormFu mailing list > HTML-FormFu@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu > -- Jan Grmela jan.grm...@imakers.cz +420 608 110 686 iMakers, s.r.o. Absolonova 725/81, Brno, 62400, Czech Republic ICO/Id: 29228875 DIC/VAT No: CZ29228875
_______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu