THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Calling a JavaScript function on a component's onclick:
... 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; } } } } ...