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=29679>. 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=29679 Validator returns ActionErrors instead of ActionMessages [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2004-06-18 18:17 ------- Joe, I think you share a common misconception -- the "messages='true'" in JSP tags has NOTHING to do with whether the object is an instance of ActionErrors or ActionMessages "messages='true'" refers to whether the object (of either type) was saved using action.saveErrors(request,ActionMessages) or action.saveMessages(request,ActionMessages) see the code http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/action/Action.java? view=markup for details. Validator still returns ActionErrors because the public API for ActionForm has a dependency on ActionErrors. This is harder to change while maintaining backwards compatibility because you can't have two methods in a class with the same signature but different return types. http://cvs.apache.org/viewcvs.cgi/jakarta-struts/src/share/org/apache/struts/action/ActionForm.java --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]