Hi, Do you need this only during development ? In Wicket 6 the Debug Window link in the bottom right corner becomes red and flashes few times so it should notify you that there is an error.
Otherwise you can override (monkey-patch) Wicket.Log.error() to do whatever you need. On Tue, Oct 30, 2012 at 9:23 PM, Istvan Jozsa <[email protected]> wrote: > Having a heavely Ajaxified page and a server wich went down, I got > "Could not find root <ajax-response> element" > when an Ajax link is clicked > (as shown in WICKET AJAX DEBUG window). > > It would be nice to alert() user that the server is down. > > Neither of > window.onerror = function(msg, file, line){ /*...*/ }; > or > jQuery(document.body).error(function(msg, file, line){ /*...*/ }); > seems to work. > > stefan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
