[Catalyst] HTML::FormFu - how to manually control the rendering?

Ian Tegebo ian.tegebo at gmail.com
Thu Aug 21 00:10:15 BST 2008


On Mon, Aug 18, 2008 at 5:59 AM,  <kakimoto at tpg.com.au> wrote:
>
> hello there
>   I love using HTML::FormFu in these two aspects:
> 1) Validation - oh ,yeah :)
> 2) configuration (via yaml in my case)
>
>
> nevertheless, is there any way we can control the rendering (in TT2)?
Try this:

script/myapp_create.pl HTML::FormFu

Then go into $app_root/root/formfu and confirm the templates have been created.

Next add 'render_method: tt' to your form config.

http://search.cpan.org/~cfranks/HTML-FormFu-0.03002/lib/HTML/FormFu.pm#render_method

Caching is another matter.

-- 
Ian Tegebo



More information about the Catalyst mailing list