THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
public void init() { super.init(); IJavaScriptLibrarySettings jsSettings = getJavaScriptLibrarySettings(); jsSettings.setBackingLibraryReference(DojoReference.class); jsSettings.setWicketEventReference(DojoWicketEventReference.class); jsSettings.setWicketAjaxReference(DojoWicketAjaxReference.class); } |
Resource dependencies
Since Wicket 6.0 ResourceReference can have dependencies and it is recommended to properly define the dependency chain between this classes.
See the code of org.apache.wicket.ajax.WicketAjaxJQueryResourceReference to see how the default JQuery based implementation does that.
...