Hi all,

I'm trying myself with some ajax ...

My problem is simple : I want to insert in a page the rendered view of
an action (which contain an ajax pagination). To do that, I use
requestAction() method. Right now, it works fine.

But I want to use a different layout for the action if it is an ajax
request. How can I do that ?

Using $this->RequestHandler->isAjax()  doesn't let me know if the
action was requested normally or by requestAction() !

Thank a lot !
--~--~---------~--~----~------------~-------~--~----~
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