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
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
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
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
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