DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17679>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17679 ActionErrors messages do not display in validated order Summary: ActionErrors messages do not display in validated order Product: Struts Version: Unknown Platform: All OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Forgive me, I'm fairly new to struts, but I've been doing servlets for a few years. In a form bean's validate method, one examines and validates fields in a given order (usually in the same order as presented in the form). For each encountered failure, an ActionError is created and added to the ActionErrors "collection". When forwarding to the designated error page which contains a <html:errors /> tag, the error messages are output, but NOT in the order in which they were processed and added to the ActionErrors when validating. >From doing forms for a few years, it's been the the case 100% of the time that we want to see the error messages presented in the same order they were added in the validator. I know there's some ways to get the errors in a desired order (eg. Husted's tip #17)... but the default behaviour should be to preserve and use the added order. If I've missed something obvious, or a good reason why preserving the order shouldn't be the default behaviour, please enlighten me. (I can't believe others haven't reported this as a bug) Thanks, ken --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]