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=38620>. 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=38620 Summary: ActionForm should not be populated automatically [Struts Classic 1.x] Product: Struts Version: Unknown Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Action AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] Whenever a request is submitted to an Action, a corresponding ActionForm is always populated, despite the type of request or despite of whether request contains Cancel event or not. This brings a lot of problems related to refreshing the same page, or forwarding to another action, or accepting invalid input when Cancel was activated. For compatibility reasons, autopopulation of an ActionForm should be kept by default, but it should be possible to turn it off either on application level using <controller> element or on action level using <action> element, or both. Struts allows to perform validation explicitly, the same should be allowed for form population. A developer knows better when to accept the input and when not to. -- 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]