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=19346>. 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=19346 ------- Additional Comments From [EMAIL PROTECTED] 2005-04-17 20:31 ------- I'm not comfortable with having the ActionForm maintain a collection of errors over time; it seems risky when you might have a "session" scoped ActionForm. How would one be clear on the semantics of when a new ActionMessages should be created vs. when the existing one should be augmented? There has been plenty of talk about how to adjust ActionForm to remove the direct dependency on the deprecated ActionErrors class; I believe the best route is to pass in an ActionContext object (new in Struts 1.3) and return void; the ActionContext is a request-scoped bean, and so is a better place to accumulate the errors. It already has some convenience methods that are like what you describe. This could also help to address some of the concerns raised in Bug 27384 and Bug 26668 regarding having more fine-grained message reporting. At this time we are basically waiting to let some of the bigger changes in Struts 1.3 settle in and looking for community feedback. After we've had a release or two in that family line, perhaps we can see how people feel about changing ActionForm's validate method to take an ActionContext. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
