A) override Form#process(IFormSubmitter) and handle the exception
B) implement an IRequestCycleListener which handles the exception
Sven
On 09/10/2013 01:46 PM, Edgar Merino wrote:
Hello, I have a Form with some components attached to it, when I
submit the Form through an AjaxSubmitLink some of these components may
throw an Exception while updating their models. What can I do to
handle these Exceptions and show error messages using error() and
adding the feedback panel to the AJaxRequestTarget, instead of showing
wicket's default Exception page (or internal error when in production
mode)?
Thanks in advance.
Edgar
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]