Re: Editing a collection

2008-09-23 Thread Grigoris Ioannou
Same problem here. I have a reservation form where the number of the guests is variable. So, in my CustomerDetails.tml I have inside a form: Name

Re: Editing a collection

2008-01-29 Thread Michael Courcy
Hi François Thanks a lot, but actually my goal was more on understanding the loop inside the form and how the model is updated in such situation. I keep your link though, I'll have a look on it. Michael. Francois Armand a écrit : Michael Courcy wrote: You mean that using value="user.loginU

Re: Editing a collection

2008-01-29 Thread Francois Armand
Michael Courcy wrote: You mean that using value="user.loginUser" tapestry alway update the same thing. Thus if I change the method User { void setLoginUser(String loginUser){ this.loginUser = loginUser; System.out.println(loginUser); } It should at least output the value I input in my text

Re: Editing a collection

2008-01-29 Thread Michael Courcy
You mean that using value="user.loginUser" tapestry alway update the same thing. Thus if I change the method User { void setLoginUser(String loginUser){ this.loginUser = loginUser; System.out.println(loginUser); } It should at least output the value I input in my textField ... And that's ri

Re: Editing a collection

2008-01-29 Thread Szemere Szemere
I'm going through something similar right now. Looking at the docs: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html#orgapachetapestrycorelibcomponentstextfield it seems that your: value="user.loginUser" determines the field that gets updated when the form is submitt