Unhandled Exceptions vs. Unhandled Ajax Exceptions

View: New views
3 Messages — Rating Filter:   Alert me  

Unhandled Exceptions vs. Unhandled Ajax Exceptions

by Ramon Leon-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Re: Unhandled Exceptions vs. Unhandled Ajax Exceptions

by Lukas Renggli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

RE: Unhandled Exceptions vs. Unhandled Ajax Exceptions

by Ramon Leon-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> > 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
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside