On 29 October 2010 14:18, Yuval Kogman <nothingm...@woobling.org> wrote:
> Currently I'm using:
>
>    $left->content_xml( $c->view("TT")->render($c, "blah.tt", {
> disable_wrapper => 1 }) );
>
> Is there a better way? I was hoping to be able to specify something like:
>
>
>    - type: Block
>      params: ...
>      render_method: tt
>      filename: blah.tt
>
> But in a way that unlike [% form.render %], propagates the TT
> environment so I can use things like [% c.uri_for %], etc...

Hi Yuval,

I haven't tried anything like that before, but if you're using
Catalyst::Controller::HTML::FormFu you can use
    [% form.stash.context %]
to access the Catalyst context.

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