THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
... new AjaxLink("link") { protected onClick(AjaxRequestTarget target) { ...} protected IAjaxCallDecorator getAjaxCallDecorator() { return new AjaxCallDecorator() { public CharSequence decorateScript(CharSequence script) { return "alert('This is my javascript call'); " + script; } } } } ... |
Also see Calling Wicket from Javascript HOWTO do Javscript call after each Wicket AJAX update