[
https://issues.apache.org/jira/browse/WICKET-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478099
]
Jean-Baptiste Quenot commented on WICKET-313:
---------------------------------------------
I'm writing a unit test, and the Ajax response fails to redirect to the
internal error page because of the following code in
AbstractRequestCycleProcessor:
// we do not want to redirect - we want to inline the
error output
// and preserve the url so when the refresh button is
pressed we
// rerun the code that caused the error
requestCycle.setRedirect(false);
> AjaxRequestTarget error handling
> --------------------------------
>
> Key: WICKET-313
> URL: https://issues.apache.org/jira/browse/WICKET-313
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Reporter: Oscar Bueno
> Assigned To: Jean-Baptiste Quenot
> Fix For: 2.0
>
> Attachments: wicket-313.patch
>
>
> Now the respond method of the AjaxRequestTarget is catching all the
> RuntimeExceptions that are throwed. I would prefer to handle this exceptions
> by myself. I have a requestTarget that is a wrapper of the wicket
> AjaxRequestTarget where we could made something in case of errors in the
> respond method of the AjaxRequestTarget.
> I'm using the AjaxRequestTarget to replace a wizard panel, in case of error,
> I would display an errors panel instance of the original panel.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.