THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public void init() { super.init(); IJavaScriptLibrarySettings jsSettings = getJavaScriptLibrarySettings(); jsSettings.setBackingLibraryReference(new DojoReference.class()); jsSettings.setWicketEventReference(new DojoWicketEventReference.class()); jsSettings.setWicketAjaxReference(new DojoWicketAjaxReference.class()); } |
Resource dependencies
...
Code Block |
---|
getJavaScriptLibrarySettings().setBackingLibraryReference(new AnotherVersionOfJQueryReference.class()); |
AjaxRequestAttributes
Each Ajax behavior and component can use o.a.w.ajax.attributes.AjaxRequestAttributes to configure how exactly the Ajax call should be executed and how its response should be handled. To do this use:
...