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.

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to