Re: RequestHandler component thinks Google Chromium isAjax

2009-10-15 Thread robustsolution

Dear Dave,

Let me tell you that I am convinced that isAjax() is something fake
and falsified (it is just a client side input) and it is not a
standard yet, I am talking about the 'X-Requested-With' header.

I would create a custom controller for the ajax requests or a custm
action in a certain controller, and without cheking I use it as
ajax ... layout ajax etc...

This is my approach for the moment

On Oct 16, 2:03 am, Dave  wrote:
> Hi everyone,
>
>     I am just seeing if anyone else has run into this problem before
> attempting to report it as a bug.
>
>     Basically when I navigate to my site which uses the Request
> Handler
> component to switch to a blank layout for ajax requests
> (automagically),
> using the Google Chromium version 4.0.220.0 browser, I receive a blank
> layout.  I assume this is because the RequestHandler is
> misinterpreting
> the user-agent string, but I really don't know I am pretty new to
> this.
>
> Thanks everyone,
>
> Dave
>
> ps.  In case people aren't familiar Google Chromium is a linux build
> of Google Chrome,http://code.google.com/chromium/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



RequestHandler component thinks Google Chromium isAjax

2009-10-15 Thread Dave

Hi everyone,

I am just seeing if anyone else has run into this problem before
attempting to report it as a bug.

Basically when I navigate to my site which uses the Request
Handler
component to switch to a blank layout for ajax requests
(automagically),
using the Google Chromium version 4.0.220.0 browser, I receive a blank
layout.  I assume this is because the RequestHandler is
misinterpreting
the user-agent string, but I really don't know I am pretty new to
this.

Thanks everyone,

Dave

ps.  In case people aren't familiar Google Chromium is a linux build
of Google Chrome, http://code.google.com/chromium/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---