Hey All,

I'm really drawing a blank here! All my ajax requests are using the
default layout even though I am setting the layout in the controller
action.

$this->layout = 'ajax';

I've also used the beforeFilter method to set it:

if ($this->RequestHandler->isAjax() == true){
    $this->layout = 'ajax';
}

I read in the manual that RequestHandler should set the ajax layout
for you but it doesn't.

I've searched for 'layout' through my entire project, weeded through
the results all to no avail!

Has anyone else had this problem? Any ideas on steps to troubleshoot
it?

Any help is greatly appreciated!

-Chris

--~--~---------~--~----~------------~-------~--~----~
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