Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Robin, I want to customize the jquery validation in a grid. I've been looking through the tapestry-jquery code. In validation.js there is reference to a function called toJSRule. Where is this function defined please? Regards, Greg. On 3/06/2010 2:23 PM, Greg Pagendam-Turner wrote: Robin, I tend to agree about the popups. Do you have any examples please of how you've used validation please? Are you using it in a grid at all? Do you completely steer clear of the existing Tapestry required validations and just code using the jQuery validator direct in your page? Regards, Greg. On 1/06/2010 5:48 PM, Robin Komiwes wrote: Validation change is a design choice. Most of the designers of my company (and also myself) have found that ErrorPopups may be too intrusives. You may be interested by this article: http://www.alistapart.com/articles/inline-validation-in-web-forms/ Be reassured, the jQuery plugin used for validation is very, very customizable. Have a look to the demos at the end of the plugin documentation page : http://docs.jquery.com/Plugins/Validation The only cons ATM is that the jQuery Validation plugin does not have a built in validator for regular expressions. Regards, Robin On Tue, Jun 1, 2010 at 9:20 AM, Greg Pagendam-Turner g...@liftyourgame.comwrote: Robin, Thanks. Looks like the issue with my Dialog is that I still had some prototype code that was confusing things. The dialogs now come up. I've raised an issue for the datefield in AjaxFormLoop. How is the validation handled in tapestry jquery? Unlike with prototype the error just seems to be inserted inline (without any special formatting) rather than being shown as a popup when using the prototype implementation. Regards, Greg. On 1/06/2010 5:10 PM, Robin Komiwes wrote: Hi! Concerning the Dialog component, default is to not show the dialog. See autoOpen value in the Dialog component: http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Dialog.java Concerning the datefield, I'll have a look and try to make a test case. Please post an issue on Github for both items and we will try to find out what is not working. Regards, Robin On Tue, Jun 1, 2010 at 4:36 AM, liftyourgameg...@liftyourgame.com wrote: Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Robin, I tend to agree about the popups. Do you have any examples please of how you've used validation please? Are you using it in a grid at all? Do you completely steer clear of the existing Tapestry required validations and just code using the jQuery validator direct in your page? Regards, Greg. On 1/06/2010 5:48 PM, Robin Komiwes wrote: Validation change is a design choice. Most of the designers of my company (and also myself) have found that ErrorPopups may be too intrusives. You may be interested by this article: http://www.alistapart.com/articles/inline-validation-in-web-forms/ Be reassured, the jQuery plugin used for validation is very, very customizable. Have a look to the demos at the end of the plugin documentation page : http://docs.jquery.com/Plugins/Validation The only cons ATM is that the jQuery Validation plugin does not have a built in validator for regular expressions. Regards, Robin On Tue, Jun 1, 2010 at 9:20 AM, Greg Pagendam-Turner g...@liftyourgame.comwrote: Robin, Thanks. Looks like the issue with my Dialog is that I still had some prototype code that was confusing things. The dialogs now come up. I've raised an issue for the datefield in AjaxFormLoop. How is the validation handled in tapestry jquery? Unlike with prototype the error just seems to be inserted inline (without any special formatting) rather than being shown as a popup when using the prototype implementation. Regards, Greg. On 1/06/2010 5:10 PM, Robin Komiwes wrote: Hi! Concerning the Dialog component, default is to not show the dialog. See autoOpen value in the Dialog component: http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Dialog.java Concerning the datefield, I'll have a look and try to make a test case. Please post an issue on Github for both items and we will try to find out what is not working. Regards, Robin On Tue, Jun 1, 2010 at 4:36 AM, liftyourgameg...@liftyourgame.com wrote: Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Hi! Concerning the Dialog component, default is to not show the dialog. See autoOpen value in the Dialog component: http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Dialog.java Concerning the datefield, I'll have a look and try to make a test case. Please post an issue on Github for both items and we will try to find out what is not working. Regards, Robin On Tue, Jun 1, 2010 at 4:36 AM, liftyourgame g...@liftyourgame.com wrote: Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Robin, Thanks. Looks like the issue with my Dialog is that I still had some prototype code that was confusing things. The dialogs now come up. I've raised an issue for the datefield in AjaxFormLoop. How is the validation handled in tapestry jquery? Unlike with prototype the error just seems to be inserted inline (without any special formatting) rather than being shown as a popup when using the prototype implementation. Regards, Greg. On 1/06/2010 5:10 PM, Robin Komiwes wrote: Hi! Concerning the Dialog component, default is to not show the dialog. See autoOpen value in the Dialog component: http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Dialog.java Concerning the datefield, I'll have a look and try to make a test case. Please post an issue on Github for both items and we will try to find out what is not working. Regards, Robin On Tue, Jun 1, 2010 at 4:36 AM, liftyourgameg...@liftyourgame.com wrote: Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Validation change is a design choice. Most of the designers of my company (and also myself) have found that ErrorPopups may be too intrusives. You may be interested by this article: http://www.alistapart.com/articles/inline-validation-in-web-forms/ Be reassured, the jQuery plugin used for validation is very, very customizable. Have a look to the demos at the end of the plugin documentation page : http://docs.jquery.com/Plugins/Validation The only cons ATM is that the jQuery Validation plugin does not have a built in validator for regular expressions. Regards, Robin On Tue, Jun 1, 2010 at 9:20 AM, Greg Pagendam-Turner g...@liftyourgame.comwrote: Robin, Thanks. Looks like the issue with my Dialog is that I still had some prototype code that was confusing things. The dialogs now come up. I've raised an issue for the datefield in AjaxFormLoop. How is the validation handled in tapestry jquery? Unlike with prototype the error just seems to be inserted inline (without any special formatting) rather than being shown as a popup when using the prototype implementation. Regards, Greg. On 1/06/2010 5:10 PM, Robin Komiwes wrote: Hi! Concerning the Dialog component, default is to not show the dialog. See autoOpen value in the Dialog component: http://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Dialog.java Concerning the datefield, I'll have a look and try to make a test case. Please post an issue on Github for both items and we will try to find out what is not working. Regards, Robin On Tue, Jun 1, 2010 at 4:36 AM, liftyourgameg...@liftyourgame.com wrote: Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
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 robin.komi...@gmail.com To: Tapestry users users@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
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.stavrini...@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 robin.komi...@gmail.com To: Tapestry users users@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
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
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 robin.komi...@gmail.com To: Tapestry users users@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.stavrini...@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 robin.komi...@gmail.com To: Tapestry users users@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
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Robin, I've tried to use the JQueryDialog as documented in the sample. I was expecting the dialog to be hidden until the j.querydialoglink was clicked but the dialog comes up as rendered. Am I using the component the right way? Is there a documentation page yet? I've noticed also that the jquery.datetime component does not popup for datetime fields in an AjaxFormLoop when specified by: tr t:type=AjaxFormLoop t:source=entityHolders t:value=entityHolder t:encoder=encoder t:unless t:test=entityHolder.deleted t:submitnotifier tdt:textfield t:id=stepName class=stepName validate=required value=entityHolder.entity.actionName//td tdt:jquery.datefield t:id=stepTargetDate class=targetDate validate=required size=12 value=entityHolder.entity.targetDate//td tdt:jquery.datefield t:id=stepActualDate class=actualDate size=12 value=entityHolder.entity.actualDate//td tdt:removerowlinkremove/t:removerowlink/td /t:submitnotifier /t:unless t:parameter name=addRow td colspan=* style=text-align: right t:addrowlinkAdd a row/t:addrowlink /td /t:parameter /tr Regards, Greg. Robin K. wrote: Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola -- View this message in context: http://old.nabble.com/Re%3A--Announce--Tapestry5-jQuery-integration-and-Tapestry5-ClientResources-tp28682461p28737137.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Hi! Just saw your email. Dialog component is still under development and will be released with 1.1.0. Anyway, there is a test application bundled with this project. Each component is tested in a custom page which could also be used a sample. You may be interested by: http://github.com/got5/tapestry5-jquery/blob/master/src/test/java/org/got5/tapestry5/jquery/test/pages/JQueryDialog.java http://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/test/pages/JQueryDialog.tml If you have any suggestion to improve this component please post an issue here : http://github.com/got5/tapestry5-jquery/issues We are very looking forward feedback! On Wed, May 26, 2010 at 5:35 PM, Nikola Milikic nikola.mili...@gmail.comwrote: Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Hi, Thanks for the job done on integrating jquery with Tapestry. I wanted to test it a bit, but I'm not managing to do everything I wanted. Can anyone plz help me how to use Dialog windowhttp://jqueryui.com/demos/dialog/(or maybe lightbox style dialog)? I can't make it working. Thanks! Regards, Nikola
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Great news! Thanks for all the hard work! - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
[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
Antwort: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
great news.. thank you very much for the hard work! g, kris Von:Robin Komiwes robin.komi...@gmail.com An: Tapestry users users@tapestry.apache.org Datum: 28.04.2010 11:54 Betreff:[Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources Gesendet von: odiss...@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
great work robin. charith On Wed, Apr 28, 2010 at 3:24 PM, Robin Komiwes robin.komi...@gmail.comwrote: 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
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: odiss...@gmail.com [mailto:odiss...@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
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 jc1000...@yahoo.co.ukwrote: 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: odiss...@gmail.com [mailto:odiss...@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
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 odiss...@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 jc1000...@yahoo.co.ukwrote: 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: odiss...@gmail.com [mailto:odiss...@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
RE: [Announce] Tapestry5 jQuery integration and Tapestry5-ClientResources
Thanks Robin that sorted out the startup problem. Regards, Jim. -Original Message- From: Robin Komiwes [mailto:odiss...@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 odiss...@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 jc1000...@yahoo.co.ukwrote: 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: odiss...@gmail.com [mailto:odiss...@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-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org