Re: [html-formfu] variable form config file

2009-12-29 Thread Steve Rippl
Octavian Râsnita wrote: Hi, You can use something like this: package MyApp::Controller::Test; use base 'Catalyst::Controller::HTML::FormFu'; sub action : Local { my ($self, $c, $template) = @_; my $form = $self->form; $form->load_config_filestem($template); $form->process; $c->stash(form

Re: [html-formfu] variable form config file

2009-12-29 Thread Octavian Râsnita
From: "Steve Rippl" Hi, I'm using Catalyst and FormFu, and I've found I can vary the config file used with sub controller_name :Local :Formconfig('/path/to/file.yml') Can I set that file name using a variable, essentially off one of the url args, so that I could use a different file depen

Re: [html-formfu] variable form config file

2009-12-28 Thread Charlie Garrison
Good afternoon, On 28/12/09 at 9:20 PM -0800, Steve Rippl wrote: Can I set that file name using a variable, essentially off one of the url args, so that I could use a different file depending on the variable passed? I'd like to parse different files under different conditions but not buil