[Catalyst] Getting the result of the template processing
Xavier Robin
robin0 at etu.unige.ch
Thu Jan 4 08:28:14 GMT 2007
On Wednesday 03 January 2007 12:20, Ash Berlin wrote:
> Marc Logghe wrote:
> > (...)
> > # only want the output from the template,
> > # no wrapping wanted
> > $c->stash->{nowrap} = 1;
> >
> > (...)
>
> No no no no - don't forward to the view and mess about with resetting
> stash params/body. Look at the docs on View::TT in the section about
> "CAPTURING TEMPLATE OUTPUT"
>
Hello,
Thank you all, I could do exactly what I wanted with those two things (nowrap
and $c->view()->render).
Xavier
--
Some people says that if you play a Windows XP install CD backwards you will
hear demon voices commanding you to worship Satan. But that's nothing. If you
play it forward it will install Windows XP.
More information about the Catalyst
mailing list