[html-formfu] best practice for TT based widgets?

Yuval Kogman nothingmuch at woobling.org
Fri Oct 29 13:18:19 GMT 2010


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...



More information about the HTML-FormFu mailing list