struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satish Jeejula <Jeeju...@ia.com>
Subject Order Validation Errors
Date Fri, 15 Feb 2002 17:11:05 GMT
Hello All,

In a jsp page which had form with this order or elements.

1) Element A (required)
2) Element B (required)
3) Element C (not Required).
  some more elements

I submit the form with entering any data for the required fields.

In my validation method of the form, I check for required fields in the same
order as they are in the form and add them to Action Error class in that
order. But when the errors are displayed back, the order of errors is not in
the order in which I add them.

I would like to know in what order the errors are sorted and displayed?

thanks,
Satish



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message