got5 / tapestry5-jquery

Tapestry5-jquery module is focusing on overriding some core component like Datefield & providing a collections of jQuery components
Other
112 stars 69 forks source link

Build Status

Tapestry 5 jQuery integration Module - 4.1.2-SNAPSHOT

Demo and documentation

http://tapestry5-jquery.com/

Hosting

http://nexus.devlab722.net/nexus/content/repositories/releases will stop at the end November 2015, So please note that the latest releases for 5.4 and 5.3 are now available at Maven Central.

Features

for version >= 4.0.0 Since version 5.4, Tapestry supports jQuery and Prototype. So you don't need any more our Tapestry-jquery.js to use integrate your favorite jQuery plugin.
Tapestry5-jquery module is now focusing on :

for version < 4.0.0

This module provides jQuery integration for Tapestry 5 and allow you to work with or to replace the tapestry.js file based on prototype.

Exclusive jQuery components :

Exclusive jQuery Mixins :

Exclusive jQuery Binding Prefixes :

Theses following components are proposing an alternative implementation of some Tapestry 5 component :

Theses components were originally present in Tapestry 5 jQuery

Questions? Ideas? Comments?

All kind of feedback is very welcome. Please use Github issues system for that.

More Informations & contacts

How to use it

Just add the following dependency in your pom.xml.

For Tapestry 5.4 users:

<dependencies>
    ...
    <dependency>
        <groupId>org.got5</groupId>
        <artifactId>tapestry5-jquery</artifactId>
        <version>4.1.1</version>
    </dependency>
    ...
</dependencies>

<repositories>
    ...
    <repository>
            <id>central</id>
            <url>https://repo1.maven.org/maven2</url>
            <releases>
                    <enabled>true</enabled>
            </releases>
        </repository>

    <repository>
        <id>oss—sonatype-snapshot-repo</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots
        </url>
        <releases>
            <enabled>false</enabled>
        </releases>
    </repository>
    ...
</repositories>

For Tapestry 5.3 users:

<dependencies>
    ...
    <dependency>
        <groupId>org.got5</groupId>
        <artifactId>tapestry5-jquery</artifactId>
        <version>3.5.2</version>
    </dependency>
    ...
</dependencies>

<repositories>
    ...
    <repository>
            <id>central</id>
            <url>https://repo1.maven.org/maven2</url>
            <releases>
                    <enabled>true</enabled>
            </releases>
        </repository>

    <repository>
        <id>oss—sonatype-snapshot-repo</id>
        <url>https://oss.sonatype.org/content/repositories/snapshots
        </url>
        <releases>
            <enabled>false</enabled>
        </releases>
    </repository>
    ...
</repositories>

Then use components like you would normally do. For Autocomplete and Palette use "jquery" namespace:

<t:form>
    <t:jquery.autocomplete />
    <t:submit />
</t:form>

Or add jquery to the tapestry-library namespace:

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_4.xsd"
  xmlns:p="tapestry:parameter"
  xmlns:j="tapestry-library:jquery">

<t:form>
    <j:palette />
    <t:textfield t:mixins="jquery/autocomplete" ... />
    <t:submit />
</t:form>

</html>

Changelog related to Tapestry 5.4.x branch

Changelog related to Tapestry 5.3.8 with jQuery 1.12.2

Changelog related to Tapestry 5.3.x with jQuery 1.10.2

Changelog related to Tapestry 5.3.x with jQuery 1.7.2

Changelog related to Tapestry 5.2.x with jQuery 1.6.4

License

This project is distributed under Apache 2 License. See LICENSE.txt for more information.

List Of Contributors