Hi Whisller,
It really isn't any different to html requests, they just need to be
handled accordingly. I cope with them by adding executeAjax methods
to my 404, Disabled, Secure and Unavaliable views and for my Login
View.
I pass JSON header information back which my default Ajax Handler
looks at. All my Ajax requests are unobtrusive, which simplifies
thing for me. So for a 404 I send back the following JSON Headers:
{ 'status' => 'redirect', 'url' => $url} My Ajax Handler class
inspects the response and actions accordingly - it does a rediect to
the 404 page.
A similar approach should solve the problems your having, have an
execute ajax / json method for the views and then check the response
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users