Tapestry 4 @TextField Problem
I am running into an issue where when I submit my form, the value in my text field is not passed to the java class when submit is clicked. However when cycle.activate() reloads the page, the value I wanted to be submitted initially is now loaded into the textfield, but if I change the value displayed in the field, the value submitted is the original value not my updated value. In a sense my @TextField submitted values are always one step behind the actual value. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-4-TextField-Problem-tp4715972p4715972.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry 4 @TextField Problem
Jonathan Barker wrote: > > My T4 is a little rusty, but if you post your code, I'll give it a shot. > -- > Jonathan Barker > ITStrategic > I found what my problem was shortly after I posted this, I had my @TextField placed lower on the page than the submit button that was reading the value. Despite being in the same form, the page would complete the submit task before reading in the value, so it was being read correctly just not in the proper order. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-4-TextField-Problem-tp4715972p4723751.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org