Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Nicolas Bouillon
Great, thank you! 2015-04-30 12:16 GMT+02:00 Dimitris Zenios : > Also you dont need to build by hand.You can get it from apache staging repo > > > apache-staging > https://repository.apache.org/content/groups/staging/ > > > > On Thu, Apr 30, 2015 at 1:16

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
Also you dont need to build by hand.You can get it from apache staging repo apache-staging https://repository.apache.org/content/groups/staging/ On Thu, Apr 30, 2015 at 1:16 PM, Dimitris Zenios wrote: > There was also a bug for this > https://issues.apa

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
There was also a bug for this https://issues.apache.org/jira/browse/TAP5-2391 so please close your bug since its a duplicate and already fixed Dimitris Zenios On Thu, Apr 30, 2015 at 1:14 PM, Nicolas Bouillon wrote: > Indeed, i've built the latest beta tag (5.4-beta-31) and the bug is > correc

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Nicolas Bouillon
Indeed, i've built the latest beta tag (5.4-beta-31) and the bug is corrected. Thanks 2015-04-30 11:40 GMT+02:00 Nicolas Bouillon : > I'm using the lastest in maven central, 5.4-beta-26 > > 2015-04-30 11:17 GMT+02:00 Dimitris Zenios : > >> This has been fixed in the latest snapshot.What version

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Nicolas Bouillon
I'm using the lastest in maven central, 5.4-beta-26 2015-04-30 11:17 GMT+02:00 Dimitris Zenios : > This has been fixed in the latest snapshot.What version of 5.4 are you > using? > > On Thu, Apr 30, 2015 at 11:49 AM, Nicolas Bouillon > wrote: > > > I know the same field component is reused. I ha

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Dimitris Zenios
This has been fixed in the latest snapshot.What version of 5.4 are you using? On Thu, Apr 30, 2015 at 11:49 AM, Nicolas Bouillon wrote: > I know the same field component is reused. I have used this kind of > structures (field in loop) extensively in a previous project on Tapestry > 5.3 without a

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Nicolas Bouillon
I know the same field component is reused. I have used this kind of structures (field in loop) extensively in a previous project on Tapestry 5.3 without any problems. That's for sure a regression between 5.3 and 5.4, probably caused by the removal of the redirection after validation failure in a fo

Re: [T5.4] Problem with form fields in a loop

2015-04-30 Thread Lance Java
The problem is that the same field is reused for each loop iteration. See here for a workaround using a FieldSnapshot to record the errors. http://t5stitch-lazan.rhcloud.com/mapbindingdemo

[T5.4] Problem with form fields in a loop

2015-04-30 Thread Nicolas Bouillon
Hi, I've got an issue with a form containing a loop which contains text fields. When the validation fails server side, the page is supposed to be re-rendered with the incorrect values filled in. But in this case, the field which is repeated will be filled with the last value entered in the repeat