ajax call event callbacks in Wicket 6.0, just question

2014-11-18 Thread tomask79
Hi guys, I just want to ask about the registering of AJAX onSuccess and onFail javascript callbacks in Wicket 6.0. *In Wicket 1.5.8 we used in JavaScript*: *Now in Wicket 6.0 when I change it to :* Server's ajax behaviour is being invoked correctly as well, but Ajax callbacks (2nd or 3th

Re: ajax call event callbacks in Wicket 6.0, just question

2014-11-18 Thread Martin Grigorov
Hi, See: 1) http://wicket.apache.org/guide/guide/ajax.html#ajax_5 2) http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/ 3) https://github.com/martin-g/blogs/blob/master/wicket6-ajax-demo/src/main/java/com/wicketinaction/HandlebarsButton.java#L93 Martin Grigorov Wicket Training

Re: ajax call event callbacks in Wicket 6.0, just question

2014-11-18 Thread tomask79
Thank you Martin for the links. Wicket.Ajax.get ({'u':'URL', 'sh': JS CODE}); did the wanted trick. T. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ajax-call-event-callbacks-in-Wicket-6-0-just-question-tp4668446p4668448.html Sent from the Users forum mailing

Component error handler

2014-11-18 Thread Thibault Kruse
Hi, we have a page with several components (after logging in, the user sees a dashboard page with panels offering information from diverse sources). We would like to achieve that if one of the component fails to render, this does not take down the whole page. So the failing component should

Re: Component error handler

2014-11-18 Thread Martin Grigorov
Hi, This has been asked recently here. See my attempts at https://github.com/martin-g/component-rendering-default. http://markmail.org/message/z22qs4ppxms5arun https://issues.apache.org/jira/browse/WICKET-4321 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On

Re: IPageRendererProvider - HTTP 500 issue

2014-11-18 Thread Wayne W
Hi Sven, Kind of - however its seems to happen only in 6.17. In 6.18 it seems to work ok with the quick start, but with our code base it still happens even with 6.18. I see this fix https://issues.apache.org/jira/browse/WICKET-5689 which seems somewhat related (nested redirects). Its still very