Re: Tapestry 5.3.4-rc-9

2012-07-05 Thread Jochen Berger
Hi, Am 05.07.2012 02:39, schrieb Bob Harner: I'm trying to follow what was done with YUICompressor in Tapestry 5.3.4-rc-9, somebody tell me if I have it right: To get YUICompressor to work more reliably, Tapestry 5.3.4-rc-9 includes a version of the YUICompressor that the maven-play-plugin

Re: How to have every second value in the t:loop different

2012-07-05 Thread Kristian Marinkovic
hi geoff, Even Odd is extremely elegant; never thought of such a solution g, kris On Thu, Jul 5, 2012 at 7:32 AM, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: ...which is why injecting EvenOdd is such a good solution. It just works, everywhere.

Re: How to have every second value in the t:loop different

2012-07-05 Thread Lance Java
This wiki page explains creating a custom binding prefix to achieve zebra stripes http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle eg: t:loop ... div class=${cycle:odd,even}.../div /tloop -- View this message in context:

Re: embedding google maps javascript into a tapestry page

2012-07-05 Thread Lance Java
Exanpe has a gmap component which you can probably use http://exanpe-t5-lib.appspot.com/components/googlemap/example5 If not, I'm sure peeking at the code will help https://github.com/exanpe/exanpe-t5-lib/blob/master/src/main/java/fr/exanpe/t5/lib/components/GMap.java -- View this message in

Tapestry Job Offer

2012-07-05 Thread sommeralex
Hi! I need a tapestry expert who is able to fix the bugs on the following pages: 1. http://www.airwriting.com/en/group/create 2. http://www.airwriting.com/en/group/create 3. http://www.airwriting.com/en/group/listlocalgroups Bug 1: The Javascript Lib has a loading time out which forces it to

Re: embedding google maps javascript into a tapestry page

2012-07-05 Thread sommeralex
thank you AGAIN for your help. i will mention your name on http://www.airwriting.com/about/imprint if you agree on! i will try to solve it by myself, but, as you problably already have seen, i am looking for someone to fix this :-) -- View this message in context:

Re: embedding google maps javascript into a tapestry page

2012-07-05 Thread Lance Java
You can't use ${scopeRadius} in a js file. Javascript files are static and can be cached in the browser. What you can do is construct a JSONObject on the serverside (based on dynamic values) and initialize the client. This can be done two ways: 1. Create a javascript object under the

Re: Unable to download example code from http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate

2012-07-05 Thread Sigbjørn Tvedt
Thank you for replying Bob. do you know if it is available somewhere else? I have made an attempt to replicate the code at https://github.com/sigbjornt/tapestry5-standalone.git , but I cannot get it to work. The standalone application from http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly

Re: embedding google maps javascript into a tapestry page

2012-07-05 Thread sommeralex
thx, i will try that! 2012/7/5 Lance Java [via Tapestry] ml-node+s1045711n571430...@n5.nabble.com You can't use ${scopeRadius} in a js file. Javascript files are static and can be cached in the browser. What you can do is construct a JSONObject on the serverside (based on dynamic values) and

Re: How to have every second value in the t:loop different

2012-07-05 Thread Bob Harner
Yeah, the cycle binding prefix would be a cool thing to add to the core. On Jul 5, 2012 3:34 AM, Lance Java lance.j...@googlemail.com wrote: This wiki page explains creating a custom binding prefix to achieve zebra stripes http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefixCycle

Re: How to have every second value in the t:loop different

2012-07-05 Thread Lance Java
I'm not sure that this implementation of CycleBinding is fit for core as it uses a thread local so nested bindings won't work (I don't think) I don't think that the following would work. t:loop ... div class=${cycle:a,b}... t:loop ... div class=${cycle:d,e}... /t:loop

Re: How to have every second value in the t:loop different

2012-07-05 Thread Geoff Callender
Sure would. Very cool. On 05/07/2012, at 9:08 PM, Bob Harner wrote: Yeah, the cycle binding prefix would be a cool thing to add to the core. On Jul 5, 2012 3:34 AM, Lance Java lance.j...@googlemail.com wrote: This wiki page explains creating a custom binding prefix to achieve zebra stripes

Re: Tapestry 5.3.4-rc-9

2012-07-05 Thread Howard Lewis Ship
At this point, I'm thinking 5.3.5 will fix yuicompressor. I just want to get 5.3.4 out the door On Wed, Jul 4, 2012 at 6:51 AM, Jochen Berger foober...@googlemail.com wrote: Am 04.07.2012 10:55, schrieb Lenny Primak: I don't think there is a 'clean' solution. Hopefully, requirejs/uglifyjs

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-05 Thread Kalle Korhonen
On Thu, Jul 5, 2012 at 2:20 PM, Alex Kotchnev akoch...@gmail.com wrote: I was looking at Geoff's examples in JumpStart on supporting JodaTime, e.g. http://jumpstart.doublenegative.com.au/jumpstart/examples/lang/typecoercers and

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-05 Thread Geoff Callender
On 6 July 2012 10:59, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Thu, Jul 5, 2012 at 2:20 PM, Alex Kotchnev akoch...@gmail.com wrote: I was looking at Geoff's examples in JumpStart on supporting JodaTime, e.g.