Ah, that is an elegant solution, and another gem..

Note a caveat worth mentioning again - (I've mentioned this in the past
on this list)

RequestHandler->isAjax() tests the value of the HTTP_X_REQUESTED_WITH
header, which is non-standard (specific to the Prototype.js library -
and not used in others) So if you're like me and breaking with Cake
convention and using another library or your own methods for
XmlHttpRequest, specify  HTTP_X_REQUESTED_WITH as the header in your
javascript connections if you want RequestHandler ajax stuff to work.

-ad

Thanks for all the cake.




[EMAIL PROTECTED] wrote:
> Aren't those before filters wonderful?  All those before and after
> callbacks are so wonderful and make CakePHP SO much more flexible than
> even before.  Very elegant solution.  I knew there had to be a way to
> set the fullDebug to false.
>
> Regardless with the release you shouldn't EVER have to hack the cake
> core.  Everything you are able to wrap around and fix it.


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

Reply via email to