No, there's a default ajax layout in the core.

On Feb 26, 5:28 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Ok, so if I make an ajax request with prototype, then my layout is
> automatically set to 'ajax'.  If I don't create an ajax layout, is my
> controller action output wrapped in nothing,or does it fail?
>
> On Feb 26, 4:22 pm, "nate" <[EMAIL PROTECTED]> wrote:
>
> > No, Prototype sends special HTTP headers which are detected by
> > RequestHandler.
>
> > On Feb 26, 5:12 pm, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Just curious, I'm trying to understand how my controller actions will
> > > 'know' a request is ajax, do I have to embed the ajax=1 in my requests?


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

Reply via email to