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 => $form);
}
And you could access it at an URL like:
http://www.site.com/test/action/user
It will display the form user.yaml (or user.conf).
Octavian
Thanks Octavian and Charlie. I had tried to look over the documentation
but had missed looking closely at the Synopsis at the top!
Thanks again.
--
Steve Rippl
Technology Director
Woodland Public Schools
360 225 9451 x326
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu