You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Robin Komiwes <ro...@gmail.com> on 2010/04/28 11:54:18 UTC

[Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Hey there,

We are glad to introduce "tapestry5-jquery": a jQuery integration
for Tapestry 5! This integration is already available as a maven
artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
and tapestry.js and replace them by jQuery.

We did our best to make this integration as transparent as possible. An
important part of components can still be used as is! We tried to stick the
more we can to jQuery philosophy. All code is based on official jQuery
coding style guidelines and on existing plugins.

jQuery for Tapestry 5 has been a long time request from an important part of
Tapestry community. There was some discussions about it and Tapestry 5.2
should provide some built in bridges for other JavaScript frameworks
integration, however there is no chance to see that for Tapestry 5.1.x.

Currently, the module is still in snapshot version and we need feedback from
users before releasing it. We are looking forward to find bugs (if there are
any) and any lack of features... Some (big) choices have been made and as
there is new features, some features that were present with
prototype/scriptaculous are not available anymore.

All source code is available on Github. Don't forget to read the README file
for installation instructions and How To:
http://github.com/got5/tapestry5-jquery


This module comes with a bonus module: "tapestry5-clientresources". It's a
small module also for Tapestry 5.1.0.5 that offers the possibility to
changes default JS and CSS included on each pages. When not using Tapestry 5
default JS stack (prototype, scriptaculous...) it also fix direct calls to
Prototype functions, like already reported
bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
instructions: http://github.com/got5/tapestry5-clientresources

Of course, we are looking forward to leverage theses modules to Tapestry 5.2
as soon as this version is released.

-- http://github.com/got5

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Charith Madusanka <ch...@gmail.com>.
great work robin.

charith

On Wed, Apr 28, 2010 at 3:24 PM, Robin Komiwes <ro...@gmail.com>wrote:

> Hey there,
>
> We are glad to introduce "tapestry5-jquery": a jQuery integration
> for Tapestry 5! This integration is already available as a maven
> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
> and tapestry.js and replace them by jQuery.
>
> We did our best to make this integration as transparent as possible. An
> important part of components can still be used as is! We tried to stick the
> more we can to jQuery philosophy. All code is based on official jQuery
> coding style guidelines and on existing plugins.
>
> jQuery for Tapestry 5 has been a long time request from an important part
> of
> Tapestry community. There was some discussions about it and Tapestry 5.2
> should provide some built in bridges for other JavaScript frameworks
> integration, however there is no chance to see that for Tapestry 5.1.x.
>
> Currently, the module is still in snapshot version and we need feedback
> from
> users before releasing it. We are looking forward to find bugs (if there
> are
> any) and any lack of features... Some (big) choices have been made and as
> there is new features, some features that were present with
> prototype/scriptaculous are not available anymore.
>
> All source code is available on Github. Don't forget to read the README
> file
> for installation instructions and How To:
> http://github.com/got5/tapestry5-jquery
>
>
> This module comes with a bonus module: "tapestry5-clientresources". It's a
> small module also for Tapestry 5.1.0.5 that offers the possibility to
> changes default JS and CSS included on each pages. When not using Tapestry
> 5
> default JS stack (prototype, scriptaculous...) it also fix direct calls to
> Prototype functions, like already reported
> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
> instructions: http://github.com/got5/tapestry5-clientresources
>
> Of course, we are looking forward to leverage theses modules to Tapestry
> 5.2
> as soon as this version is released.
>
> -- http://github.com/got5
>

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Piero Sartini <li...@pierosartini.de>.
Great news! Thanks for all the hard work!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


RE: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Thanks Robin that sorted out the startup problem.

Regards,
Jim.

-----Original Message-----
From: Robin Komiwes [mailto:odisseus@gmail.com] 
Sent: 28 April 2010 19:15
To: Tapestry users
Subject: Re: [Announce] Tapestry5 jQuery integration and
Tapestry5-ClientResources

Ok, I forgot to add manifest entry for the jquery module autoloading. :)
Corrected and pushed to Github. Snapshot should be rebuilt in a couple of
minutes.

On Wed, Apr 28, 2010 at 7:58 PM, Robin Komiwes <od...@gmail.com> wrote:

> NullPointerException... I must have forgot something. Such a shame, I was
> pretty sure that my tests were protecting the library from that kind of
> issues. :)
> Would you mind to open an issue on Github with your stacktrace and
> AppModule?
>
> Thanx,
>
> Robin
>
>
> On Wed, Apr 28, 2010 at 7:12 PM, Jim O'Callaghan
<jc...@yahoo.co.uk>wrote:
>
>> Hi,
>>
>> Would be very interested to try this out, but am getting a
>> java.lang.RuntimeException on startup:
>>
>>  Caused by: java.lang.RuntimeException: Error invoking constructor
>>
>>
org.got5.tapestry5.clientresources.services.ContribuableClientInfrastructure
>> (Map, String, String, AssetSource, ThreadLocale, SymbolSource) (at
>> ContribuableClientInfrastructure.java:54) via
>>
>>
org.got5.tapestry5.clientresources.services.ClientResourcesModule.bind(Servi
>> ceBinder) (at ClientResourcesModule.java:45) (for service
>> 'ContribuableClientInfrastructure'): java.lang.NullPointerException
>>
>> I'm using Tapestry 5.1.0.5 with jdk 1.6 and jetty-6.1.6 and have the pom
/
>> AppModule entries from the git readme - anything obvious I'm, missing
>> here?
>> Thanks.
>>
>> Regards,
>> Jim.
>>
>> -----Original Message-----
>> From: odisseus@gmail.com [mailto:odisseus@gmail.com] On Behalf Of Robin
>> Komiwes
>> Sent: 28 April 2010 10:54
>> To: Tapestry users
>> Subject: [Announce] Tapestry5 jQuery integration and
>> Tapestry5-ClientResources
>>
>> Hey there,
>>
>> We are glad to introduce "tapestry5-jquery": a jQuery integration
>> for Tapestry 5! This integration is already available as a maven
>> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
>> and tapestry.js and replace them by jQuery.
>>
>> We did our best to make this integration as transparent as possible. An
>> important part of components can still be used as is! We tried to stick
>> the
>> more we can to jQuery philosophy. All code is based on official jQuery
>> coding style guidelines and on existing plugins.
>>
>> jQuery for Tapestry 5 has been a long time request from an important part
>> of
>> Tapestry community. There was some discussions about it and Tapestry 5.2
>> should provide some built in bridges for other JavaScript frameworks
>> integration, however there is no chance to see that for Tapestry 5.1.x.
>>
>> Currently, the module is still in snapshot version and we need feedback
>> from
>> users before releasing it. We are looking forward to find bugs (if there
>> are
>> any) and any lack of features... Some (big) choices have been made and as
>> there is new features, some features that were present with
>> prototype/scriptaculous are not available anymore.
>>
>> All source code is available on Github. Don't forget to read the README
>> file
>> for installation instructions and How To:
>> http://github.com/got5/tapestry5-jquery
>>
>>
>> This module comes with a bonus module: "tapestry5-clientresources". It's
a
>> small module also for Tapestry 5.1.0.5 that offers the possibility to
>> changes default JS and CSS included on each pages. When not using
Tapestry
>> 5
>> default JS stack (prototype, scriptaculous...) it also fix direct calls
to
>> Prototype functions, like already reported
>> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
>> instructions: http://github.com/got5/tapestry5-clientresources
>>
>> Of course, we are looking forward to leverage theses modules to Tapestry
>> 5.2
>> as soon as this version is released.
>>
>> -- http://github.com/got5
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Robin Komiwes <od...@gmail.com>.
Ok, I forgot to add manifest entry for the jquery module autoloading. :)
Corrected and pushed to Github. Snapshot should be rebuilt in a couple of
minutes.

On Wed, Apr 28, 2010 at 7:58 PM, Robin Komiwes <od...@gmail.com> wrote:

> NullPointerException... I must have forgot something. Such a shame, I was
> pretty sure that my tests were protecting the library from that kind of
> issues. :)
> Would you mind to open an issue on Github with your stacktrace and
> AppModule?
>
> Thanx,
>
> Robin
>
>
> On Wed, Apr 28, 2010 at 7:12 PM, Jim O'Callaghan <jc...@yahoo.co.uk>wrote:
>
>> Hi,
>>
>> Would be very interested to try this out, but am getting a
>> java.lang.RuntimeException on startup:
>>
>>  Caused by: java.lang.RuntimeException: Error invoking constructor
>>
>> org.got5.tapestry5.clientresources.services.ContribuableClientInfrastructure
>> (Map, String, String, AssetSource, ThreadLocale, SymbolSource) (at
>> ContribuableClientInfrastructure.java:54) via
>>
>> org.got5.tapestry5.clientresources.services.ClientResourcesModule.bind(Servi
>> ceBinder) (at ClientResourcesModule.java:45) (for service
>> 'ContribuableClientInfrastructure'): java.lang.NullPointerException
>>
>> I'm using Tapestry 5.1.0.5 with jdk 1.6 and jetty-6.1.6 and have the pom /
>> AppModule entries from the git readme - anything obvious I'm, missing
>> here?
>> Thanks.
>>
>> Regards,
>> Jim.
>>
>> -----Original Message-----
>> From: odisseus@gmail.com [mailto:odisseus@gmail.com] On Behalf Of Robin
>> Komiwes
>> Sent: 28 April 2010 10:54
>> To: Tapestry users
>> Subject: [Announce] Tapestry5 jQuery integration and
>> Tapestry5-ClientResources
>>
>> Hey there,
>>
>> We are glad to introduce "tapestry5-jquery": a jQuery integration
>> for Tapestry 5! This integration is already available as a maven
>> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
>> and tapestry.js and replace them by jQuery.
>>
>> We did our best to make this integration as transparent as possible. An
>> important part of components can still be used as is! We tried to stick
>> the
>> more we can to jQuery philosophy. All code is based on official jQuery
>> coding style guidelines and on existing plugins.
>>
>> jQuery for Tapestry 5 has been a long time request from an important part
>> of
>> Tapestry community. There was some discussions about it and Tapestry 5.2
>> should provide some built in bridges for other JavaScript frameworks
>> integration, however there is no chance to see that for Tapestry 5.1.x.
>>
>> Currently, the module is still in snapshot version and we need feedback
>> from
>> users before releasing it. We are looking forward to find bugs (if there
>> are
>> any) and any lack of features... Some (big) choices have been made and as
>> there is new features, some features that were present with
>> prototype/scriptaculous are not available anymore.
>>
>> All source code is available on Github. Don't forget to read the README
>> file
>> for installation instructions and How To:
>> http://github.com/got5/tapestry5-jquery
>>
>>
>> This module comes with a bonus module: "tapestry5-clientresources". It's a
>> small module also for Tapestry 5.1.0.5 that offers the possibility to
>> changes default JS and CSS included on each pages. When not using Tapestry
>> 5
>> default JS stack (prototype, scriptaculous...) it also fix direct calls to
>> Prototype functions, like already reported
>> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
>> instructions: http://github.com/got5/tapestry5-clientresources
>>
>> Of course, we are looking forward to leverage theses modules to Tapestry
>> 5.2
>> as soon as this version is released.
>>
>> -- http://github.com/got5
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Robin Komiwes <od...@gmail.com>.
NullPointerException... I must have forgot something. Such a shame, I was
pretty sure that my tests were protecting the library from that kind of
issues. :)
Would you mind to open an issue on Github with your stacktrace and
AppModule?

Thanx,

Robin


On Wed, Apr 28, 2010 at 7:12 PM, Jim O'Callaghan <jc...@yahoo.co.uk>wrote:

> Hi,
>
> Would be very interested to try this out, but am getting a
> java.lang.RuntimeException on startup:
>
>  Caused by: java.lang.RuntimeException: Error invoking constructor
>
> org.got5.tapestry5.clientresources.services.ContribuableClientInfrastructure
> (Map, String, String, AssetSource, ThreadLocale, SymbolSource) (at
> ContribuableClientInfrastructure.java:54) via
>
> org.got5.tapestry5.clientresources.services.ClientResourcesModule.bind(Servi
> ceBinder) (at ClientResourcesModule.java:45) (for service
> 'ContribuableClientInfrastructure'): java.lang.NullPointerException
>
> I'm using Tapestry 5.1.0.5 with jdk 1.6 and jetty-6.1.6 and have the pom /
> AppModule entries from the git readme - anything obvious I'm, missing here?
> Thanks.
>
> Regards,
> Jim.
>
> -----Original Message-----
> From: odisseus@gmail.com [mailto:odisseus@gmail.com] On Behalf Of Robin
> Komiwes
> Sent: 28 April 2010 10:54
> To: Tapestry users
> Subject: [Announce] Tapestry5 jQuery integration and
> Tapestry5-ClientResources
>
> Hey there,
>
> We are glad to introduce "tapestry5-jquery": a jQuery integration
> for Tapestry 5! This integration is already available as a maven
> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
> and tapestry.js and replace them by jQuery.
>
> We did our best to make this integration as transparent as possible. An
> important part of components can still be used as is! We tried to stick the
> more we can to jQuery philosophy. All code is based on official jQuery
> coding style guidelines and on existing plugins.
>
> jQuery for Tapestry 5 has been a long time request from an important part
> of
> Tapestry community. There was some discussions about it and Tapestry 5.2
> should provide some built in bridges for other JavaScript frameworks
> integration, however there is no chance to see that for Tapestry 5.1.x.
>
> Currently, the module is still in snapshot version and we need feedback
> from
> users before releasing it. We are looking forward to find bugs (if there
> are
> any) and any lack of features... Some (big) choices have been made and as
> there is new features, some features that were present with
> prototype/scriptaculous are not available anymore.
>
> All source code is available on Github. Don't forget to read the README
> file
> for installation instructions and How To:
> http://github.com/got5/tapestry5-jquery
>
>
> This module comes with a bonus module: "tapestry5-clientresources". It's a
> small module also for Tapestry 5.1.0.5 that offers the possibility to
> changes default JS and CSS included on each pages. When not using Tapestry
> 5
> default JS stack (prototype, scriptaculous...) it also fix direct calls to
> Prototype functions, like already reported
> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
> instructions: http://github.com/got5/tapestry5-clientresources
>
> Of course, we are looking forward to leverage theses modules to Tapestry
> 5.2
> as soon as this version is released.
>
> -- http://github.com/got5
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

RE: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Hi,

Would be very interested to try this out, but am getting a
java.lang.RuntimeException on startup:

 Caused by: java.lang.RuntimeException: Error invoking constructor
org.got5.tapestry5.clientresources.services.ContribuableClientInfrastructure
(Map, String, String, AssetSource, ThreadLocale, SymbolSource) (at
ContribuableClientInfrastructure.java:54) via
org.got5.tapestry5.clientresources.services.ClientResourcesModule.bind(Servi
ceBinder) (at ClientResourcesModule.java:45) (for service
'ContribuableClientInfrastructure'): java.lang.NullPointerException

I'm using Tapestry 5.1.0.5 with jdk 1.6 and jetty-6.1.6 and have the pom /
AppModule entries from the git readme - anything obvious I'm, missing here?
Thanks.

Regards,
Jim.

-----Original Message-----
From: odisseus@gmail.com [mailto:odisseus@gmail.com] On Behalf Of Robin
Komiwes
Sent: 28 April 2010 10:54
To: Tapestry users
Subject: [Announce] Tapestry5 jQuery integration and
Tapestry5-ClientResources

Hey there,

We are glad to introduce "tapestry5-jquery": a jQuery integration
for Tapestry 5! This integration is already available as a maven
artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
and tapestry.js and replace them by jQuery.

We did our best to make this integration as transparent as possible. An
important part of components can still be used as is! We tried to stick the
more we can to jQuery philosophy. All code is based on official jQuery
coding style guidelines and on existing plugins.

jQuery for Tapestry 5 has been a long time request from an important part of
Tapestry community. There was some discussions about it and Tapestry 5.2
should provide some built in bridges for other JavaScript frameworks
integration, however there is no chance to see that for Tapestry 5.1.x.

Currently, the module is still in snapshot version and we need feedback from
users before releasing it. We are looking forward to find bugs (if there are
any) and any lack of features... Some (big) choices have been made and as
there is new features, some features that were present with
prototype/scriptaculous are not available anymore.

All source code is available on Github. Don't forget to read the README file
for installation instructions and How To:
http://github.com/got5/tapestry5-jquery


This module comes with a bonus module: "tapestry5-clientresources". It's a
small module also for Tapestry 5.1.0.5 that offers the possibility to
changes default JS and CSS included on each pages. When not using Tapestry 5
default JS stack (prototype, scriptaculous...) it also fix direct calls to
Prototype functions, like already reported
bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
instructions: http://github.com/got5/tapestry5-clientresources

Of course, we are looking forward to leverage theses modules to Tapestry 5.2
as soon as this version is released.

-- http://github.com/got5


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Antwort: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
great news.. thank you very much for the hard work!

g,
kris



Von:    Robin Komiwes <ro...@gmail.com>
An:     Tapestry users <us...@tapestry.apache.org>
Datum:  28.04.2010 11:54
Betreff:        [Announce] Tapestry5 jQuery integration and 
Tapestry5-ClientResources
Gesendet von:   odisseus@gmail.com



Hey there,

We are glad to introduce "tapestry5-jquery": a jQuery integration
for Tapestry 5! This integration is already available as a maven
artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
and tapestry.js and replace them by jQuery.

We did our best to make this integration as transparent as possible. An
important part of components can still be used as is! We tried to stick 
the
more we can to jQuery philosophy. All code is based on official jQuery
coding style guidelines and on existing plugins.

jQuery for Tapestry 5 has been a long time request from an important part 
of
Tapestry community. There was some discussions about it and Tapestry 5.2
should provide some built in bridges for other JavaScript frameworks
integration, however there is no chance to see that for Tapestry 5.1.x.

Currently, the module is still in snapshot version and we need feedback 
from
users before releasing it. We are looking forward to find bugs (if there 
are
any) and any lack of features... Some (big) choices have been made and as
there is new features, some features that were present with
prototype/scriptaculous are not available anymore.

All source code is available on Github. Don't forget to read the README 
file
for installation instructions and How To:
http://github.com/got5/tapestry5-jquery


This module comes with a bonus module: "tapestry5-clientresources". It's a
small module also for Tapestry 5.1.0.5 that offers the possibility to
changes default JS and CSS included on each pages. When not using Tapestry 
5
default JS stack (prototype, scriptaculous...) it also fix direct calls to
Prototype functions, like already reported
bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
instructions: http://github.com/got5/tapestry5-clientresources

Of course, we are looking forward to leverage theses modules to Tapestry 
5.2
as soon as this version is released.

-- http://github.com/got5


Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Peter Stavrinides <P....@albourne.com>.
Hi Robin,

Thanks for the extra info, much appreciated! and +1 for a short blog! would help those of us looking to migrate.

cheers,
Peter

 


----- Original Message -----
From: "Robin Komiwes" <ro...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Tuesday, 1 June, 2010 11:57:26 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

 - How does that work, does Tapestry not require 'tapestry.js' or does
jquery provide some equivalent?

This module comes with a new tapestry.js [1] which is my vision of the
agnostic layer (java equivalent would be an interface).
Then there is a tapestry-jquery.js [2] , which is the implementation of
tapestry.js with jQuery (java equivalent would be implementation class)

Original tapestry.js is dropped with the help of tapestry5-clientresources
library [3]


<http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/tapestry-jquery.js>
-
How would jQuery integrate with existing applications that use tapestry AJAX
/ prototype features?

This library aims 100% jQuery websites. Integration with existing
applications should not be a problem if you did not code additional
Prototype/Scriptaculous JavaScript. Just run the integration tests of this
library if you want a proof, they run tests against the same application:
one time with jQuery, another time with Prototype!

If you want to use both Prototype and jQuery, then simply activate
jQuery.noConflict() [4].

The thing is that I rely on the same methods specifications than the
original tapestry.js, then it's transparent in most cases.

For some component I didn't manage to integrate jQuery without modifying the
component Java class. (Most of the time simply because of the very
restrictive @IncludeJavascriptLibrary annotation...). For theses components
I had to fork the original Java class (see [5] for an example on Palette)

See README.md [6] for complete list of components:
- integrated in a transparent way
- which are a fork of core tapestry components

The good thing with the jQuery library is that with are aiming to integrate
lots of jQuery plugins. Dialog component is just the first one of a long
list!

Mmm, I feel like I should blog on this subject. :)

[1]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/tapestry.js
<http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/tapestry.js>
[2]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/tapestry-jquery.js
[3] http://github.com/got5/tapestry5-clientresources
[4] http://docs.jquery.com/Using_jQuery_with_Other_Libraries
[5]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Palette.java
[6] http://github.com/got5/tapestry5-jquery/blob/master/README.md

On Tue, Jun 1, 2010 at 10:05 AM, Peter Stavrinides <
P.Stavrinides@albourne.com> wrote:

> Hi
>
> What do you mean by:
> " This library fully drop out Prototype, Scriptaculous, Blackbird and
> tapestry.js and replace them by jQuery."
>
>  - How does that work, does Tapestry not require 'tapestry.js' or does
> jquery provide some equivalent?
>  - How would jQuery integrate with existing applications that use tapestry
> AJAX / prototype features?
>
> I get the impression you could only use this module for a new application,
> am I correct in thinking this?
>
> cheers,
> Peter
>
>
>
>
>
> ----- Original Message -----
> From: "Robin Komiwes" <ro...@gmail.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Wednesday, 28 April, 2010 12:54:18 GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: [Announce] Tapestry5 jQuery integration and
> Tapestry5-ClientResources
>
> Hey there,
>
> We are glad to introduce "tapestry5-jquery": a jQuery integration
> for Tapestry 5! This integration is already available as a maven
> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
> and tapestry.js and replace them by jQuery.
>
> We did our best to make this integration as transparent as possible. An
> important part of components can still be used as is! We tried to stick the
> more we can to jQuery philosophy. All code is based on official jQuery
> coding style guidelines and on existing plugins.
>
> jQuery for Tapestry 5 has been a long time request from an important part
> of
> Tapestry community. There was some discussions about it and Tapestry 5.2
> should provide some built in bridges for other JavaScript frameworks
> integration, however there is no chance to see that for Tapestry 5.1.x.
>
> Currently, the module is still in snapshot version and we need feedback
> from
> users before releasing it. We are looking forward to find bugs (if there
> are
> any) and any lack of features... Some (big) choices have been made and as
> there is new features, some features that were present with
> prototype/scriptaculous are not available anymore.
>
> All source code is available on Github. Don't forget to read the README
> file
> for installation instructions and How To:
> http://github.com/got5/tapestry5-jquery
>
>
> This module comes with a bonus module: "tapestry5-clientresources". It's a
> small module also for Tapestry 5.1.0.5 that offers the possibility to
> changes default JS and CSS included on each pages. When not using Tapestry
> 5
> default JS stack (prototype, scriptaculous...) it also fix direct calls to
> Prototype functions, like already reported
> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
> instructions: http://github.com/got5/tapestry5-clientresources
>
> Of course, we are looking forward to leverage theses modules to Tapestry
> 5.2
> as soon as this version is released.
>
> -- http://github.com/got5
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Robin Komiwes <ro...@gmail.com>.
 - How does that work, does Tapestry not require 'tapestry.js' or does
jquery provide some equivalent?

This module comes with a new tapestry.js [1] which is my vision of the
agnostic layer (java equivalent would be an interface).
Then there is a tapestry-jquery.js [2] , which is the implementation of
tapestry.js with jQuery (java equivalent would be implementation class)

Original tapestry.js is dropped with the help of tapestry5-clientresources
library [3]


<http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/tapestry-jquery.js>
-
How would jQuery integrate with existing applications that use tapestry AJAX
/ prototype features?

This library aims 100% jQuery websites. Integration with existing
applications should not be a problem if you did not code additional
Prototype/Scriptaculous JavaScript. Just run the integration tests of this
library if you want a proof, they run tests against the same application:
one time with jQuery, another time with Prototype!

If you want to use both Prototype and jQuery, then simply activate
jQuery.noConflict() [4].

The thing is that I rely on the same methods specifications than the
original tapestry.js, then it's transparent in most cases.

For some component I didn't manage to integrate jQuery without modifying the
component Java class. (Most of the time simply because of the very
restrictive @IncludeJavascriptLibrary annotation...). For theses components
I had to fork the original Java class (see [5] for an example on Palette)

See README.md [6] for complete list of components:
- integrated in a transparent way
- which are a fork of core tapestry components

The good thing with the jQuery library is that with are aiming to integrate
lots of jQuery plugins. Dialog component is just the first one of a long
list!

Mmm, I feel like I should blog on this subject. :)

[1]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/tapestry.js
<http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/tapestry.js>
[2]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/tapestry-jquery.js
[3] http://github.com/got5/tapestry5-clientresources
[4] http://docs.jquery.com/Using_jQuery_with_Other_Libraries
[5]
http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Palette.java
[6] http://github.com/got5/tapestry5-jquery/blob/master/README.md

On Tue, Jun 1, 2010 at 10:05 AM, Peter Stavrinides <
P.Stavrinides@albourne.com> wrote:

> Hi
>
> What do you mean by:
> " This library fully drop out Prototype, Scriptaculous, Blackbird and
> tapestry.js and replace them by jQuery."
>
>  - How does that work, does Tapestry not require 'tapestry.js' or does
> jquery provide some equivalent?
>  - How would jQuery integrate with existing applications that use tapestry
> AJAX / prototype features?
>
> I get the impression you could only use this module for a new application,
> am I correct in thinking this?
>
> cheers,
> Peter
>
>
>
>
>
> ----- Original Message -----
> From: "Robin Komiwes" <ro...@gmail.com>
> To: "Tapestry users" <us...@tapestry.apache.org>
> Sent: Wednesday, 28 April, 2010 12:54:18 GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: [Announce] Tapestry5 jQuery integration and
> Tapestry5-ClientResources
>
> Hey there,
>
> We are glad to introduce "tapestry5-jquery": a jQuery integration
> for Tapestry 5! This integration is already available as a maven
> artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
> and tapestry.js and replace them by jQuery.
>
> We did our best to make this integration as transparent as possible. An
> important part of components can still be used as is! We tried to stick the
> more we can to jQuery philosophy. All code is based on official jQuery
> coding style guidelines and on existing plugins.
>
> jQuery for Tapestry 5 has been a long time request from an important part
> of
> Tapestry community. There was some discussions about it and Tapestry 5.2
> should provide some built in bridges for other JavaScript frameworks
> integration, however there is no chance to see that for Tapestry 5.1.x.
>
> Currently, the module is still in snapshot version and we need feedback
> from
> users before releasing it. We are looking forward to find bugs (if there
> are
> any) and any lack of features... Some (big) choices have been made and as
> there is new features, some features that were present with
> prototype/scriptaculous are not available anymore.
>
> All source code is available on Github. Don't forget to read the README
> file
> for installation instructions and How To:
> http://github.com/got5/tapestry5-jquery
>
>
> This module comes with a bonus module: "tapestry5-clientresources". It's a
> small module also for Tapestry 5.1.0.5 that offers the possibility to
> changes default JS and CSS included on each pages. When not using Tapestry
> 5
> default JS stack (prototype, scriptaculous...) it also fix direct calls to
> Prototype functions, like already reported
> bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
> instructions: http://github.com/got5/tapestry5-clientresources
>
> Of course, we are looking forward to leverage theses modules to Tapestry
> 5.2
> as soon as this version is released.
>
> -- http://github.com/got5
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Posted by Peter Stavrinides <P....@albourne.com>.
Hi 

What do you mean by: 
" This library fully drop out Prototype, Scriptaculous, Blackbird and tapestry.js and replace them by jQuery."

 - How does that work, does Tapestry not require 'tapestry.js' or does jquery provide some equivalent? 
 - How would jQuery integrate with existing applications that use tapestry AJAX / prototype features?

I get the impression you could only use this module for a new application, am I correct in thinking this?

cheers,
Peter

 



----- Original Message -----
From: "Robin Komiwes" <ro...@gmail.com>
To: "Tapestry users" <us...@tapestry.apache.org>
Sent: Wednesday, 28 April, 2010 12:54:18 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources

Hey there,

We are glad to introduce "tapestry5-jquery": a jQuery integration
for Tapestry 5! This integration is already available as a maven
artifact. This library fully drop out Prototype, Scriptaculous, Blackbird
and tapestry.js and replace them by jQuery.

We did our best to make this integration as transparent as possible. An
important part of components can still be used as is! We tried to stick the
more we can to jQuery philosophy. All code is based on official jQuery
coding style guidelines and on existing plugins.

jQuery for Tapestry 5 has been a long time request from an important part of
Tapestry community. There was some discussions about it and Tapestry 5.2
should provide some built in bridges for other JavaScript frameworks
integration, however there is no chance to see that for Tapestry 5.1.x.

Currently, the module is still in snapshot version and we need feedback from
users before releasing it. We are looking forward to find bugs (if there are
any) and any lack of features... Some (big) choices have been made and as
there is new features, some features that were present with
prototype/scriptaculous are not available anymore.

All source code is available on Github. Don't forget to read the README file
for installation instructions and How To:
http://github.com/got5/tapestry5-jquery


This module comes with a bonus module: "tapestry5-clientresources". It's a
small module also for Tapestry 5.1.0.5 that offers the possibility to
changes default JS and CSS included on each pages. When not using Tapestry 5
default JS stack (prototype, scriptaculous...) it also fix direct calls to
Prototype functions, like already reported
bug TAP5-994 (and fixed in 5.2). Again, check Github for source code and
instructions: http://github.com/got5/tapestry5-clientresources

Of course, we are looking forward to leverage theses modules to Tapestry 5.2
as soon as this version is released.

-- http://github.com/got5

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org