[cgiapp] Turning off Template output for AJAX

kropotkin enquiries at mms-oxford.com
Thu Jan 29 09:50:05 EST 2009


Hi

I see - yes; I found the place in postrun where we are loading the layout
template and I just turn it off. I suppose you could use a template for AJAX
but since the body is no more than the AJAX response text I'm not sure I can
see the point

Thanks for the helpful response

Kroptokin



Michael Peters wrote:
> 
> kropotkin wrote:
> 
>> How do I stop C:A outputting a template from a run-mode? This is for a
>> method which serves an AJAX call.
> 
> C::A doesn't output a template by default. You must have some other plugin
> loaded that does that. 
> Besides, what does an AJAX call have to do with not using a template?
> 
> -- 
> Michael Peters
> Plus Three, LP
> 
> 
> #####  CGI::Application community mailing list  ################
> ##                                                            ##
> ##  To unsubscribe, or change your message delivery options,  ##
> ##  visit:  http://lists.openlib.org/mailman/listinfo/cgiapp    ##
> ##                                                            ##
> ##  Web archive:   http://lists.openlib.org/pipermail/cgiapp/   ##
> ##  Wiki:          http://cgiapp.erlbaum.net/                 ##
> ##                                                            ##
> ################################################################
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Turning-off-Template-output-for-AJAX-tp21726620p21728335.html
Sent from the cgiapp at lists.openlib.org mailing list archive at Nabble.com.



More information about the cgiapp mailing list