Catalyst::Helper::HTML::FormFu.3pm

Langue: en

Version: 2008-10-27 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::Helper::HTML::FormFu - Helper to deploy HTML::FormFu template files.

SYNOPSIS

     script/myapp_create.pl HTML::FormFu
 
 

DESCRIPTION

As of version 0.02000, HTML::FormFu doesn't use the TT template files by default - it uses in internal rendering engine.

If you don't want to customise the generated markup, you don't need to use Catalyst::Helper::HTML::FormFu at all.

If you want to customise the generated markup, you'll need a local copy of the template files. To create the files in the default "root/formfu" directory, run:

     script/myapp_create.pl HTML::FormFu
 
 

To create the files in a different subdirectory of "root", pass the path as an argument. The following example would create the template files into the directory "root/forms".

     script/myapp_create.pl HTML::FormFu forms
 
 

You'll also need to tell HTML::FormFu to use the TT renderer, this can be achieved with Catalyst::Controller::HTML::FormFu, with the following Catalyst application YAML config:

     ---
     'Controller::HTML::FormFu':
       constructor:
         render_method: tt
 
 

SUPPORT

IRC:
     Join #catalyst on irc.perl.org.
 
 

Mailing Lists:

     http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget
 
 

SEE ALSO

HTML::FormFu, Catalyst::Helper

AUTHOR

Carl Franks, "cfranks@cpan.org"

LICENSE

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.