[Catalyst] Overriding Catalyst::View::TT WRAPPER
samuel.c.kaufman at gmail.com
Tue Nov 30 01:27:24 GMT 2010
I've found the easiest way is to have some logic in your wrapper:
something like this:
content WRAPPER site/html + site/layout;
so $c->stash(no_wrapper => 1) and it won't be wrapped.
On Mon, Nov 29, 2010 at 8:16 PM, Mesdaq, Ali <amesdaq at websense.com> wrote:
> Hey Everyone,
> Got a question about how I can override my application's TT wrapper. The closest thing I found was http://search.cpan.org/~abraxxa/Catalyst-View-TT-0.36/lib/Catalyst/View/TT.pm#CONFIGURATION . But what I am trying to do is basically have the wrapper turned off for a specific public method where I will create a new TT file that I want used without it being wrapped.
> ALI MESDAQ
> Sr. Security Researcher
> WEBSENSE, INC.
> ph: +1.858.320.9466
> fax: +1.858.784.4466
> Websense TRITON™
> For Essential Information Protection™
> Web Security | Data Security | Email Security
> Protected by Websense Hosted Email Security -- www.websense.com
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://email@example.com/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst