Re: AjaxEventBehavior and arguments

2014-08-13 Thread Christian Schröter
Thanks for the quick reply. Works like a charm! Please let me know how I can buy you a beer. Cheers Am 13.08.2014 um 09:05 schrieb Martin Grigorov : > Hi, > > You can use AjaxEventBehavior as with any other event type. > The 'data' is reachable thru: attrs.event.extraData: > > new AjaxEventBe

Re: AjaxEventBehavior and arguments

2014-08-13 Thread Martin Grigorov
Hi, You can use AjaxEventBehavior as with any other event type. The 'data' is reachable thru: attrs.event.extraData: new AjaxEventBehavior("customEvent") { @Override protected void updateAjaxAttributes(AjaxRequestAttributes attributes) { super.updateAjaxAttributes(attributes); attr

AjaxEventBehavior and arguments

2014-08-12 Thread Christian Schröter
Hey everyone, I'm having diffculties to find a solution for a common issue, at least in my opinion ^^ Hopefully someone can help me. I'm using a third party JS libary. This lib fires custom events. $('#id').on('customEvent', function(event, data) {...}); In Wicket I would like to add a listene