Re: 5.4-alpha-4 preview release
On Tue, 28 May 2013 21:40:25 -0300, Nomen Nomanum getibi...@outlook.com wrote: What happened to dual modding? What the hell is dual modding? Is it possible that Tapestry itself will figure out when prototype, jquery or some other JS library is involved, and therefore process it's parameters as scheduled from template listing? What's the relation between parameters and JS frameworks? As Howard, I have no idea what's being talked about here. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: 5.4-alpha-4 preview release
Tried it out this morning, here is my quick assessment: I like the new asset paths. I'll try and build an Amazon CloudFront CDN this week. I did notice the scripts included by require.js do not have the checksums in the urls. Is that correct? I had one problem getting it to run. I had to add dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.7.2/version /dependency to my pom file. It appears to be in tapestry-core but marked test. I tried Grid with a few Bootstrap styles and it did what I expected. I'm a big fan of the new Bootstrap css. I tried BeanEditForm and have a question about it. Unfortunately Bootstrap changes the markup for forms when the class is form-horizontal. It appears BeanEditForm always outputs the markup for form-horizontal so the other form styles do not work correctly. I'll try and build something real this weekend. Thanks Barry On Tue, May 28, 2013 at 3:28 PM, Howard Lewis Ship hls...@gmail.com wrote: For all you early adopters ... 5.4-alpha-4 preview release is now available Maven Repository: https://repository.apache.org/content/repositories/orgapachetapestry-019/ Big improvements: - URLs for compressed assets are now separate from uncompressed assets - Many problems with CSS url() rewriting have been fixed - new tapestry-wro4j library for runtime: - CoffeeScript to JavaScript compilation - Less to CSS compilation - JavaScript minimization - CSS minimization -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: 5.4-alpha-4 preview release
FYI, due to some minor problems in alpha-4, I'm working on alpha-5 right now. I'm starting the work of porting a very large 5.3 app to 5.4. On Wed, May 29, 2013 at 4:31 AM, Barry Books trs...@gmail.com wrote: Tried it out this morning, here is my quick assessment: I like the new asset paths. I'll try and build an Amazon CloudFront CDN this week. I did notice the scripts included by require.js do not have the checksums in the urls. Is that correct? Yes, for modules, there is no checksum in the URL, but there is an ETag containing the checksum. On the client side, we start knowing only the module's name (i.e., t5/core/events); without the file content we can't generate the checksum. Eventually, I'll include a mechanism to aggregate specific modules into the JavaScript stack. I had one problem getting it to run. I had to add dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.7.2/version /dependency to my pom file. It appears to be in tapestry-core but marked test. This has been going back and forth; the idea is to not lock you into a particular SLF4J implementation, at the expense of making you select one. If this was included as a core dependency and you wanted to switch to, say, logback, you would have to exclude this dependency then include logback. The Maven archetype will include a specific SLF4J implementation. I tried Grid with a few Bootstrap styles and it did what I expected. I'm a big fan of the new Bootstrap css. As am I! I tried BeanEditForm and have a question about it. Unfortunately Bootstrap changes the markup for forms when the class is form-horizontal. It appears BeanEditForm always outputs the markup for form-horizontal so the other form styles do not work correctly. More information on that would be great. I'll try and build something real this weekend. Thanks Barry On Tue, May 28, 2013 at 3:28 PM, Howard Lewis Ship hls...@gmail.com wrote: For all you early adopters ... 5.4-alpha-4 preview release is now available Maven Repository: https://repository.apache.org/content/repositories/orgapachetapestry-019/ Big improvements: - URLs for compressed assets are now separate from uncompressed assets - Many problems with CSS url() rewriting have been fixed - new tapestry-wro4j library for runtime: - CoffeeScript to JavaScript compilation - Less to CSS compilation - JavaScript minimization - CSS minimization -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: 5.4-alpha-4 preview release
On Wed, May 29, 2013 at 11:08 AM, Howard Lewis Ship hls...@gmail.comwrote: I had one problem getting it to run. I had to add dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.7.2/version /dependency to my pom file. It appears to be in tapestry-core but marked test. This has been going back and forth; the idea is to not lock you into a particular SLF4J implementation, at the expense of making you select one. If this was included as a core dependency and you wanted to switch to, say, logback, you would have to exclude this dependency then include logback. The Maven archetype will include a specific SLF4J implementation. In general I would prefer things work out of the box and exclude the dependency if needed, but it did not take too long to figure out the problem. I tried BeanEditForm and have a question about it. Unfortunately Bootstrap changes the markup for forms when the class is form-horizontal. It appears BeanEditForm always outputs the markup for form-horizontal so the other form styles do not work correctly. More information on that would be great. Basic forms in Bootstrap have little to no extra markup. The example has http://twitter.github.io/bootstrap/base-css.html#forms 1. form 2. fieldset 3. legendLegend/legend 4. labelLabel name/label 5. input type=text placeholder=Type something… 6. span class=help-blockExample block-level help text here./span 7. label class=checkbox 8. input type=checkbox Check me out 9. /label 10. button type=submit class=btnSubmit/button 11. /fieldset 12. /form Only the form-horizontal has the extra control group 1. div class=control-group 2. label class=control-label for=inputPasswordPassword/label 3. div class=controls 4. input type=password id=inputPassword placeholder=Password 5. /div 6. /div 7. div class=control-group 8. div class=controls 9. label class=checkbox 10. input type=checkbox Remember me 11. /label 12. button type=submit class=btnSign in/button 13. /div 14. /div While the simple forms work with the control group the extra tags change the output format. This means the output of each property in the BeanEditor is dependent on the class parameter to BeanEditForm or Form. I guess the class could be added to FormSupport so the underlying parameters could render differently depending on the class. Also just to make things more difficult notice how the label for the checkbox spans the input but the textfield label does not. On my Bootstrap module I did all this using the DOM and a visitor, but if you are creating components from scratch I don't think I would do it that way. I'll try and build something real this weekend. Thanks Barry On Tue, May 28, 2013 at 3:28 PM, Howard Lewis Ship hls...@gmail.com wrote: For all you early adopters ... 5.4-alpha-4 preview release is now available Maven Repository: https://repository.apache.org/content/repositories/orgapachetapestry-019/ Big improvements: - URLs for compressed assets are now separate from uncompressed assets - Many problems with CSS url() rewriting have been fixed - new tapestry-wro4j library for runtime: - CoffeeScript to JavaScript compilation - Less to CSS compilation - JavaScript minimization - CSS minimization -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
RE: 5.4-alpha-4 preview release
Sorry, it took me ages before I could retrieve this mail to see new posts and reply. What I meant by dual modding is the ability for any Tapestry user to use whatever JS framework he or she likes. There were rumours that in Tap5.4 Prototype will be once and for all put out of focus, and Prototype activities would be replaced by JQuery. That is what I meant, hope it is now more clear. :) Date: Wed, 29 May 2013 19:16:57 -0500 Subject: Re: 5.4-alpha-4 preview release From: trs...@gmail.com To: users@tapestry.apache.org On Wed, May 29, 2013 at 11:08 AM, Howard Lewis Ship hls...@gmail.comwrote: I had one problem getting it to run. I had to add dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.7.2/version /dependency to my pom file. It appears to be in tapestry-core but marked test. This has been going back and forth; the idea is to not lock you into a particular SLF4J implementation, at the expense of making you select one. If this was included as a core dependency and you wanted to switch to, say, logback, you would have to exclude this dependency then include logback. The Maven archetype will include a specific SLF4J implementation. In general I would prefer things work out of the box and exclude the dependency if needed, but it did not take too long to figure out the problem. I tried BeanEditForm and have a question about it. Unfortunately Bootstrap changes the markup for forms when the class is form-horizontal. It appears BeanEditForm always outputs the markup for form-horizontal so the other form styles do not work correctly. More information on that would be great. Basic forms in Bootstrap have little to no extra markup. The example has http://twitter.github.io/bootstrap/base-css.html#forms 1. form 2. fieldset 3. legendLegend/legend 4. labelLabel name/label 5. input type=text placeholder=Type something… 6. span class=help-blockExample block-level help text here./span 7. label class=checkbox 8. input type=checkbox Check me out 9. /label 10. button type=submit class=btnSubmit/button 11. /fieldset 12. /form Only the form-horizontal has the extra control group 1. div class=control-group 2. label class=control-label for=inputPasswordPassword/label 3. div class=controls 4. input type=password id=inputPassword placeholder=Password 5. /div 6. /div 7. div class=control-group 8. div class=controls 9. label class=checkbox 10. input type=checkbox Remember me 11. /label 12. button type=submit class=btnSign in/button 13. /div 14. /div While the simple forms work with the control group the extra tags change the output format. This means the output of each property in the BeanEditor is dependent on the class parameter to BeanEditForm or Form. I guess the class could be added to FormSupport so the underlying parameters could render differently depending on the class. Also just to make things more difficult notice how the label for the checkbox spans the input but the textfield label does not. On my Bootstrap module I did all this using the DOM and a visitor, but if you are creating components from scratch I don't think I would do it that way. I'll try and build something real this weekend. Thanks Barry On Tue, May 28, 2013 at 3:28 PM, Howard Lewis Ship hls...@gmail.com wrote: For all you early adopters ... 5.4-alpha-4 preview release is now available Maven Repository: https://repository.apache.org/content/repositories/orgapachetapestry-019/ Big improvements: - URLs for compressed assets are now separate from uncompressed assets - Many problems with CSS url() rewriting have been fixed - new tapestry-wro4j library for runtime: - CoffeeScript to JavaScript compilation - Less to CSS compilation - JavaScript minimization - CSS minimization -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
5.4-alpha-4 preview release
For all you early adopters ... 5.4-alpha-4 preview release is now available Maven Repository: https://repository.apache.org/content/repositories/orgapachetapestry-019/ Big improvements: - URLs for compressed assets are now separate from uncompressed assets - Many problems with CSS url() rewriting have been fixed - new tapestry-wro4j library for runtime: - CoffeeScript to JavaScript compilation - Less to CSS compilation - JavaScript minimization - CSS minimization -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com
Re: 5.4-alpha-4 preview release
nice... and thanks... I will see if I can run with it
RE: 5.4-alpha-4 preview release
What happened to dual modding? Is it possible that Tapestry itself will figure out when prototype, jquery or some other JS library is involved, and therefore process it's parameters as scheduled from template listing? From: kcola...@live.com To: users@tapestry.apache.org Subject: Re: 5.4-alpha-4 preview release Date: Tue, 28 May 2013 19:52:08 -0400 nice... and thanks... I will see if I can run with it
Re: 5.4-alpha-4 preview release
Huh? On Tuesday, May 28, 2013, Nomen Nomanum wrote: What happened to dual modding? Is it possible that Tapestry itself will figure out when prototype, jquery or some other JS library is involved, and therefore process it's parameters as scheduled from template listing? From: kcola...@live.com javascript:; To: users@tapestry.apache.org javascript:; Subject: Re: 5.4-alpha-4 preview release Date: Tue, 28 May 2013 19:52:08 -0400 nice... and thanks... I will see if I can run with it -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com