Beautiful, don't know how I missed it. I'm using it to lay out some specific
actions under the ajax or standard layout depending on call method, and the
setAjax() thing was just what I was looking for.
Good call Samuel.
-MI
---------------------------------------------------------------------------
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
-----Mensaje original-----
De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
de Samuel DeVore
Enviado el: MiƩrcoles, 20 de Diciembre de 2006 07:23 p.m.
Para: [email protected]
Asunto: Re: Finding out if an action is called through AJAX, or direct
access
If you are using prototype/ scripta as the ajax framework then you can use
$RequestHandler->setAjax($this); to take care of the layouts and other
little details for you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---