Unhandled Exceptions vs. Unhandled Ajax Exceptions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Unhandled Exceptions vs. Unhandled Ajax Exceptions

Ramon Leon-5
Anyone currently successfully serving a different unhandled exception error
page for Ajax requests than for ordinary requests?  Using Scriptaculous of
course.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Unhandled Exceptions vs. Unhandled Ajax Exceptions

Lukas Renggli
> Anyone currently successfully serving a different unhandled exception error
>  page for Ajax requests than for ordinary requests?  Using Scriptaculous of
>  course.

At the place where the error page is generated you could ask the
request if it  isXmlHttpRequest and render something else.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Unhandled Exceptions vs. Unhandled Ajax Exceptions

Ramon Leon-5
>
> > Anyone currently successfully serving a different unhandled
> exception
> > error  page for Ajax requests than for ordinary requests?  Using
> > Scriptaculous of  course.
>
> At the place where the error page is generated you could ask
> the request if it  isXmlHttpRequest and render something else.
>
> Lukas

Ah, damn, I knew it'd be something simple, thanks!

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside