Hello, in my onValidate method, I'm trying to get a list of the fields
containing validation errors. I'm able to get a list of the errors using
form.getDefaultTracker().getErrors(); however that  only returns the error
messages and not the fields. I know I could just pass the field name into
the inError method, however I'm using an AjaxFormLoop with tapestry
generated ID's.  example field, field_0, field_1 etc.

What I'm trying to ultimately accomplish. 

I have two tabs in my form, each contains an AjaxFormLoop. When serverside
validation errors occur, I need away to mark the tab as having errors, I
planned to add the error count to the tab. However in order for me to do
this, I would first need to be able to count the errors from the backend. 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/onValidate-get-list-of-fields-containing-validation-errors-tp5716549.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