[Catalyst] Return a TT view

John M. Dlugosz wxju46gefd at snkmail.com
Fri May 20 20:16:32 GMT 2011


On 5/20/2011 3:10 PM, jeff robinson jeffreyianrobinson-at-gmail.com |Catalyst/Allow to 
home| wrote:
> Not quite sure how an intro to TT answers my question, but I did find it here:

Because it shows how to call TT to return a string to the caller.

> http://search.cpan.org/~abraxxa/Catalyst-View-TT-0.36/lib/Catalyst/View/TT.pm
>
> Thanks anyway - J
>
> On Fri, May 20, 2011 at 3:33 PM, John M. Dlugosz<wxju46gefd at snkmail.com>  wrote:
>> On 5/20/2011 2:21 PM, jeff robinson jeffreyianrobinson-at-gmail.com
>> |Catalyst/Allow to home| wrote:
>>> Hi,
>>> I need to be able to process a view through a TT template but instead
>>> of subjecting it to the usual chain of processing (pre-process,
>>> wrapper etc) I just want to return it as text to the calling function.
>>> I am basically using TT to process a file GET and will return the text
>>> in a $c->response->body().
>>> Thanks - J
>> See<http://template-toolkit.org/docs/manual/Intro.html>
>>
>>
>>
>> _______________________________________________
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/




More information about the Catalyst mailing list