The ajax failure handler did indeed do the trick.
Thanks, Martin.
On Mon, Jun 11, 2018 at 3:49 PM, Martin Grigorov
wrote:
> Hi,
>
> Have you tried with AjaxCallListener's failure handler ?
> If jQuery.ajax() notifies its error listeners then it should work.
>
> The redirect will work only if
Hi,
Have you tried with AjaxCallListener's failure handler ?
If jQuery.ajax() notifies its error listeners then it should work.
The redirect will work only if the error page is served by something that
is still up, because "Service Unavailable" means that the web server (e.g.
Tomcat) is down.
Hi all,
I have an AjaxSubmitLink which fails silently if the back-end server goes
away.
In debug mode, the ajax debug console shows:
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Service
Unavailable
This is in Wicket 6.x
Is there a way to catch these kinds of errors and show