|
Page Created :
WICKET :
Calling _javascript_ function on wicket component's onclick
Calling _javascript_ function on wicket component's onclick has been created by Will Hoover (Jan 11, 2008). Content: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; } } } } ... |
Powered by
Atlassian Confluence
(Version: 2.2.9 Build:#527 Sep 07, 2006)
-
Bug/feature request
Unsubscribe or edit your notifications preferences
Unsubscribe or edit your notifications preferences
