Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

View::TT render_output disappeared?

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


tuco at pasteur

Dec 1, 2009, 6:04 AM

Post #1 of 3 (742 views)
Permalink
View::TT render_output disappeared?

Hi list,

I'd like to render output of some template inside my catalyst
application. I remembered that it did exist a method called
'render_output' that allow edit. However in Catalyst::View::TT this
method seems to have disappeared.
I can use 'render' from this module but it calls the wrapper I
configured in my App::View::TT.
Does anyone know how to render a small piece of template with args
without calling the wrapper to surround the output?

Thanks for any hint.

Regards

--
-------------------------
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-------------------------

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


bobtfish at bobtfish

Dec 1, 2009, 6:20 AM

Post #2 of 3 (646 views)
Permalink
Re: View::TT render_output disappeared? [In reply to]

Emmanuel Quevillon wrote:
> I'd like to render output of some template inside my catalyst
> application. I remembered that it did exist a method called
> 'render_output' that allow edit. However in Catalyst::View::TT this
> method seems to have disappeared.

Nope, you're just thinking of the render method I think

> I can use 'render' from this module but it calls the wrapper I
> configured in my App::View::TT.
> Does anyone know how to render a small piece of template with args
> without calling the wrapper to surround the output?

Try something like this?

http://dev.catalyst.perl.org/wiki/gettingstarted/howtos/disabling_a_tt_wrapper_for_ajax_requests

Cheers
t0m

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/


tuco at pasteur

Dec 1, 2009, 6:29 AM

Post #3 of 3 (646 views)
Permalink
Re: View::TT render_output disappeared? [In reply to]

Tomas Doran wrote:
> Emmanuel Quevillon wrote:
>> I'd like to render output of some template inside my catalyst
>> application. I remembered that it did exist a method called
>> 'render_output' that allow edit. However in Catalyst::View::TT this
>> method seems to have disappeared.
>
> Nope, you're just thinking of the render method I think
>
>> I can use 'render' from this module but it calls the wrapper I
>> configured in my App::View::TT.
>> Does anyone know how to render a small piece of template with args
>> without calling the wrapper to surround the output?
>
> Try something like this?
>
> http://dev.catalyst.perl.org/wiki/gettingstarted/howtos/disabling_a_tt_wrapper_for_ajax_requests
>
>
> Cheers
> t0m

Thanks tOm, this is a good url you pointed me to!
You're still that responsive and efficient! :)

Emmanuel

--
-------------------------
Emmanuel Quevillon
Biological Software and Databases Group
Institut Pasteur
+33 1 44 38 95 98
tuco at_ pasteur dot fr
-------------------------

_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.