I'm interested in this subject too. Anyone?
Daniel Stoch-2 wrote: > > Hi, > > In Wicket by default IRequestCycleProcessor.respond(RuntimeException, > RequestCycle) method is called to handle runtime exceptions. In > AbstractRequestCycleProcessor this method throws > RestartResponseException (or RestartResponseAtInterceptPageException) > and then the other page is shown (eg. ExceptionErrorPage or other page > specified in RequestCycle.onRuntimeException()). > > In ajax requests I want to avoid loading another page when runtime > exception is thrown. I want to show a proper exception message within > the current page. > I have prepared a small draft solution how to do this (by extending > AjaxRequestTarget and WebRequestCycleProcessor classes), but firstly I > want to ask you is it any "standard" way to handle runtime exception > within ajax request, without rendering another page? > > -- > Daniel > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Handling-runtime-exceptions-in-ajax-request-tp18927900p20289107.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]