if you want to execute a certain piece of js code after every (successful) ajax update, you can use the following js code:
wicketGlobalPostCallHandler = function { alert('successful partial update'); }
Also see Calling JavaScript function on wicket component's onclick