whats involved to  "// don't render the full layout" within the controller?
trying to strip the header and footer from the ajax output.


Martin Westin wrote:
> 
> 
> 
> Yes As far I remember the controller sees nothing different from a
> normal POST.
> Just do this and you will be golden:
> if ( $this->RequestHandler->isAjax() ) {
>     // don't render the full layout
> }
> 
> 
> 
> 
> On Jan 14, 11:05 am, Miles J <[email protected]> wrote:
>> Thank you, was the perfect answer.
>>
>> Also now on the ajax controller side, does the post show up in $this-
>>
>> >data? Im assuming yes.
> > 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Who-uses-Cake-%2B-jQuery-ajax-tp2155185p2384906.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to