Hello, I'm using the AjaxFormLoop component throughout my app. I'm not using
clientside validation, but rather serverside validation. Lastly I'm using
flash persist to rebuild the objects within the AjaxFormLoop when a
serverside validation occurs. This all seems to work perfectly well with the
exception of a couple strange behaviors. 

If I add a new row with the addrow button and add bad data to a field,
"example alpha in a numeric field" and submit the form, the app will return
a serverside validation error within the <t:errors/> component properly
describing the error, however the field with the bad data will be cleared of
it's data and no field validation decoration will occur, but the newly
created row will still exist. Now if I repopulate the same field or any
other field within the row with bad data and submit the form, the app will
return the validation error, but this time retain the field data plus
decorate the field with the red border and red label. Now if I add a new row
from the backend on page render, the fields behave properly.

I'm not very familiar with the ValidationTracker, but it almost seems to me
as if the data isn't making it into there. Does anybody think they might
know what's going on here, or have any additional thoughts?

Thanks



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/AjaxFormLoop-validation-not-working-properly-tp5718326.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

Reply via email to