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 parameter of  Wicket.Ajax.get) *are never called*.

Well, I was debugging wicket-ajax-jquery.js and it seems now that in Wicket
6.0 the only way of registering the ajaxCallbacks is using the global topics

 

It seems that we can't register ajax callback for just *one particular* ajax
call in JavaScript. We need to do it globally like:




Which isn't very nice solution...IMHO. Or do we have an opportunity to
register ajax callback for JUST one particular call of Wicket.Ajax.get ?

thanks a lot in advance for clarification.

best regards

Tomas

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ajax-call-event-callbacks-in-Wicket-6-0-just-question-tp4668446.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to