Hi,
See org.apache.wicket.settings.IExceptionSettings#setAjaxErrorHandlingStrategy
Martin Grigorov
Wicket Training and Consulting
On Fri, May 30, 2014 at 12:46 PM, Andre Camilo
andre.cam...@premium-minds.com wrote:
Hi,
How can I handle exceptions occurred at the server side on the client side
(with Ajax requests)?
At the client side, the javascript event ' /ajax/call/failure' is only
fired when the connection fails (I think), but when the there's an
unhandled exception on the server side, the events ' /ajax/call/success'
and '/ajax/call/complete' fired with a redirect message.
I know I can just try...catch each ajax component, but I was looking for
something more global to the whole application.
Can anyone help me?
--
André Camilo
Software Architect
Premium Minds
Av. Marquês de Tomar nº69, 1º Andar
1050-154 Lisboa
www.premium-minds.comhttp://www.premium-minds.com/
Geral: +351 217 817 555
Tlm: +351 914 515 010
andre.cam...@premium-minds.commailto:andre.cam...@premium-minds.com