Re: Select in Loop

2010-08-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Aug 2010 09:16:08 -0300, Inge Solvoll wrote: You have hit one of my problem spots in T5 :) I also just use formState="iteration", because I simply don't understand how to make the alternatives work... Quick answer: it makes the form store information about the objects being

Re: Select in Loop

2010-08-13 Thread Inge Solvoll
You have hit one of my problem spots in T5 :) I also just use formState="iteration", because I simply don't understand how to make the alternatives work... On Fri, Aug 13, 2010 at 1:40 PM, Mite wrote: > > I made a ValueEncoder and also put formState="iteration" in the loop. The > second one see

Re: Select in Loop

2010-08-13 Thread Mite
I made a ValueEncoder and also put formState="iteration" in the loop. The second one seemed to made it work, even though I don't really understand why. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Select-in-Loop-tp2471420p2572247.html Sent from the Tapestry - User mai

Re: Select in Loop

2010-08-11 Thread Pablo dos Reis
Mite, You must use a property of your source as select value. 2010/8/11 Josh Canfield > Are you saying that when you post the form you are getting the last value > from the form stored in the currentBetType and currentAvailableBet > properties? > > With loops you have to remember that you onl

Re: Select in Loop

2010-08-10 Thread Josh Canfield
Are you saying that when you post the form you are getting the last value from the form stored in the currentBetType and currentAvailableBet properties? With loops you have to remember that you only have one property in the page so it gets set repeatedly when you post the form. You can collect t

Re: Select in Loop

2010-08-10 Thread Thiago H. de Paula Figueiredo
On Tue, 10 Aug 2010 21:30:04 -0300, Mite wrote: Hi Hi! I have the following loop containing two select components. I guess you need to provide a ValueEncoder to the Loop's encoder parameter. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, de