public class JavaScriptLibrarySettings extends Object
With these settings the user application can replace the JavaScript libraries used for Wicket's event and Ajax functionality. By default Wicket uses JQuery as a backing library but via this interface the application can replace the implementations of wicket-event.js, wicket-ajax.js and wicket-ajax-debug.js to use implementations on other libraries, such as YUI or DOJO. The resource reference implementations need to specify the dependency on the backing library, if needed.
Constructor and Description |
---|
JavaScriptLibrarySettings() |
Modifier and Type | Method and Description |
---|---|
ResourceReference |
getJQueryReference() |
ResourceReference |
getWicketAjaxDebugReference()
The Wicket Ajax Debug Window.
|
ResourceReference |
getWicketAjaxReference() |
JavaScriptLibrarySettings |
setJQueryReference(ResourceReference jQueryReference) |
JavaScriptLibrarySettings |
setWicketAjaxDebugReference(ResourceReference wicketAjaxDebugReference) |
JavaScriptLibrarySettings |
setWicketAjaxReference(ResourceReference wicketAjaxReference) |
public ResourceReference getJQueryReference()
public JavaScriptLibrarySettings setJQueryReference(ResourceReference jQueryReference)
jQueryReference
- a reference to the JQuery JavaScript library used as backing library for
wicket-event and wicket-ajaxthis
object for chainingpublic ResourceReference getWicketAjaxReference()
public JavaScriptLibrarySettings setWicketAjaxReference(ResourceReference wicketAjaxReference)
wicketAjaxReference
- a reference to the implementation of wicket-ajax.jsthis
object for chainingpublic ResourceReference getWicketAjaxDebugReference()
public JavaScriptLibrarySettings setWicketAjaxDebugReference(ResourceReference wicketAjaxDebugReference)
wicketAjaxDebugReference
- a reference to the implementation of wicket-ajax-debug.jsthis
object for chainingCopyright © 2006–2022 Apache Software Foundation. All rights reserved.