GithubHelp home page GithubHelp logo

isabella232 / wiquery-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wicketstuff/wiquery

0.0 0.0 0.0 10.43 MB

Wicket integration with jQuery and jQuery UI

Home Page: http://code.google.com/p/wiquery/

License: MIT License

Java 87.63% HTML 1.30% JavaScript 11.01% CSS 0.06%

wiquery-1's Introduction

WiQuery for Apache Wicket 8.x

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

This branch follows the development of Apache Wicket 8.x (the master branch of Apache Wicket)

WiQuery consists of 3 subprojects:

  • core - the core library
  • ui - Wicket components for JQuery UI components
  • demo - examples

Requirements

WiQuery requires the following:

  • Java 8
  • Servlet 3.1
  • Wicket 8.0 or newer

Newer or older major releases of Wicket are not compatible with this version of WiQuery.

Migration from WiQuery 6.x

  • You have to change the groupId of the dependency from org.odlabs.wiquery to org.wicketstuff.wiquery
  • You have to change the version of your wiquery dependency to the current version that is compatible with your Wicket version.
  • You have to rename the imports for the WiQuery components because the Java package was renamed from org.odlabs.wiquery to org.wicketstuff.wiquery

Projects

Below is a short description of the projects of WiQuery.

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"));

wiquery-1's People

Contributors

dashorst avatar dutrieux avatar florianlacreuse avatar gsmet avatar hielkehoeve avatar lionelarmanet avatar martin-g avatar papegaaij avatar reiern70 avatar reiz avatar richardwilko avatar rochejul avatar sboschman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.