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=36698>. 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=36698 Summary: Enhancements for ActionRedirect Product: Struts Version: 1.2.7 Platform: Other OS/Version: other Status: NEW Severity: enhancement Priority: P2 Component: Standard Actions AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] Now that Struts 1.2.7 supports the ActionRedirect class, I am constantly finding myself coding this pattern: ActionRedirect redirect = new ActionRedirect(mapping.findForward("name")); Something simpler would be: ActionRedirect redirect = mapping.findRedirect("name"); Now someone needs to debate the merit of this approach. Should this find any forward and turn it into an ActionRedirect, or only find forwards that have the @redirect set to true. I don't know. Let's discuss. Also, I like to pass form attributes or request parameters from one request to another. How about a shortcut to populate the parameters like: redirect.addRequestParameters(request); redirect.addFormAttributes(form); -- 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]