On Fri, May 20, 2011 at 3:21 PM, jeff robinson <[email protected]> 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
>From what you are describing you are probably using TTSite which has a pre-configured layout for the TT View take a look in: root/lib/site/wrapper And look at the conditionals there, in fact it's already pre-configured so if the extension is txt it will not process the headers, etc. Hope that helps. -- Alejandro Imass > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
