2009/10/9 Justin W <scsys.co...@datademons.com>:
>
> Hi,
>
> My google-fu appears to be weak.  I want to set the render method on every
> single form on my site to tt.  I've been putting render_method: tt at the
> top
> of every single form file.
>
> Surely there's a way I can put this in the Catalyst site config file somehow
> instead of re-typing it every single time?  I've tried things like:
>
> <Controller::HTML::FormFu>
>    render_method tt
> </Controller::HTML::FormFu>

Hi,

This is what you need:

<Controller::HTML::FormFu>
  <constructor>
    render_method tt
  </constructor>
</Controller::HTML::FormFu>

Cheers,
Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to