You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/11/09 22:08:49 UTC

DO NOT REPLY [Bug 32132] New: - order of action error messages

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32132

order of action error messages <html:errors />

           Summary: order of action error messages <html:errors />
           Product: Struts
           Version: 1.2.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: venkat.burri@gmail.com


It seems like action errors are stored in an unordered collection. I have a 
form and all the form elements have their validations defined validator.xml and 
also I have a custom validator class. Validation rules are in the same order as 
form elements. In addition to form element validation rules there can be 
additional errors from business logic.
 I am just displaying all the error messages using <html:errors /> on my 
JSP/HTML. I cann't use <html:errors property="" /> for my situation. 

 All the errors shown are not in the order as I defined in validator.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org