WiQuery Demo Project

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

GroupId

GroupId

org.odlabs.wiquery
ArtifactId

ArtifactId

wiquery-demo
Last Version

Last Version

6.13.0
Release Date

Release Date

Type

Type

war
Description

Description

WiQuery Demo Project
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Download wiquery-demo

How to add to project

<!-- https://jarcasting.com/artifacts/org.odlabs.wiquery/wiquery-demo/ -->
<dependency>
    <groupId>org.odlabs.wiquery</groupId>
    <artifactId>wiquery-demo</artifactId>
    <version>6.13.0</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.odlabs.wiquery/wiquery-demo/
implementation 'org.odlabs.wiquery:wiquery-demo:6.13.0'
// https://jarcasting.com/artifacts/org.odlabs.wiquery/wiquery-demo/
implementation ("org.odlabs.wiquery:wiquery-demo:6.13.0")
'org.odlabs.wiquery:wiquery-demo:war:6.13.0'
<dependency org="org.odlabs.wiquery" name="wiquery-demo" rev="6.13.0">
  <artifact name="wiquery-demo" type="war" />
</dependency>
@Grapes(
@Grab(group='org.odlabs.wiquery', module='wiquery-demo', version='6.13.0')
)
libraryDependencies += "org.odlabs.wiquery" % "wiquery-demo" % "6.13.0"
[org.odlabs.wiquery/wiquery-demo "6.13.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.wicket : wicket-core jar 6.13.0
org.odlabs.wiquery : wiquery-jquery-ui jar 6.13.0

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.slf4j : slf4j-log4j12 jar [1.7,1.7.5]
org.eclipse.jetty : jetty-plus jar 9.0.7.v20131107

Project Modules

There are no modules declared in this project.

WiQuery

WiQuery is a project to simply Wicket integration with jQuery and jQuery UI.

WiQuery Core

The core project does not contain much:

  • some interfaces and classes which were used with Wicket before 6.0 and are now deprecated.
  • a basic classes to create events, mostly for jQuery UI.
  • a basic API to create javascript functions and options to be used in behaviors or events.

The jQuery javascript is not included in WiQuery but in Wicket. In order to use a specific version one can add the following code in their Application#init():

getJavaScriptLibrarySettings().setJQueryReference(...);

or alternatively you can register a resource replacement:

addResourceReplacement(JQueryResourceReference.get(), ...);

where ... is the instance of your resource reference.

WiQuery JQuery UI

Here is where the fun starts, this project contains components and behaviors for enriching your application with jQuery UI.

One can override the default theme with a custom theme (for example 'foo') by creating a package called org.odlabs.wiquery.themes.foo and adding the following code in their Application#init():

addResourceReplacement(WiQueryCoreThemeResourceReference.get(), new WiQueryCoreThemeResourceReference("foo"));
org.odlabs.wiquery

WiQuery

Versions

Version
6.13.0
6.12.0
6.9.2
6.9.1
6.6.0
6.5.0
6.2.0