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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21479

Add ServletRequest or HttpServletRequest to ActionForm constructor

           Summary: Add ServletRequest or HttpServletRequest to ActionForm
                    constructor
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When constructing an ActionForm object, adding the ServletRequest or 
HttpServletRequest as a parameter to the constructor would allow more 
flexibility in ActionForm initialization and simplify configuration for cases 
when you want to pre-populate a form.

If the ActionForm has access to the HttpServletRequest, it can use information 
from the request, session or application context to pre-populate its values 
without the need to define a separate Action to do the work.   This cuts down 
on the number of Actions that need to be coded and configured.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to