Package org.apache.wicket.resource
Class JQueryResourceReference
- java.lang.Object
-
- org.apache.wicket.request.resource.ResourceReference
-
- org.apache.wicket.request.resource.PackageResourceReference
-
- org.apache.wicket.request.resource.JavaScriptResourceReference
-
- org.apache.wicket.resource.JQueryResourceReference
-
- All Implemented Interfaces:
Serializable
,IClusterable
public class JQueryResourceReference extends JavaScriptResourceReference
The resource reference for the jquery javascript library as released with Wicket. To add a JQuery resource reference to a component, do not use this reference, but useJavaScriptLibrarySettings.getJQueryReference()
to prevent version conflicts.- Author:
- papegaaij
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
ResourceReference.Key, ResourceReference.LambdaResourceReference, ResourceReference.UrlAttributes
-
-
Field Summary
Fields Modifier and Type Field Description static JQueryResourceReference
INSTANCE_1
static JQueryResourceReference
INSTANCE_2
static JQueryResourceReference
INSTANCE_3
static String
VERSION_1
jQuery ver.static String
VERSION_2
jQuery ver.static String
VERSION_3
JQuery ver.
-
Constructor Summary
Constructors Modifier Constructor Description protected
JQueryResourceReference(String version)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JQueryResourceReference
getV1()
static JQueryResourceReference
getV2()
static JQueryResourceReference
getV3()
-
Methods inherited from class org.apache.wicket.request.resource.JavaScriptResourceReference
getResource
-
Methods inherited from class org.apache.wicket.request.resource.PackageResourceReference
getMinifiedName, getUrlAttributes, readBuffered, removeCompressFlagIfUnnecessary
-
Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getVariation, hashCode, of, of, toString
-
-
-
-
Field Detail
-
VERSION_1
public static final String VERSION_1
jQuery ver. 1.x - works on modern browsers and IE 6/7/8- See Also:
- Constant Field Values
-
VERSION_2
public static final String VERSION_2
jQuery ver. 2.x - works only on modern browsers- See Also:
- Constant Field Values
-
VERSION_3
public static final String VERSION_3
JQuery ver. 3.x - improves on ver. 2 Note: Might not work with old jQuery plugins!- See Also:
- Constant Field Values
-
INSTANCE_1
public static final JQueryResourceReference INSTANCE_1
-
INSTANCE_2
public static final JQueryResourceReference INSTANCE_2
-
INSTANCE_3
public static final JQueryResourceReference INSTANCE_3
-
-
Constructor Detail
-
JQueryResourceReference
protected JQueryResourceReference(String version)
-
-
Method Detail
-
getV1
public static JQueryResourceReference getV1()
-
getV2
public static JQueryResourceReference getV2()
-
getV3
public static JQueryResourceReference getV3()
-
-