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=28330>.
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=28330

Configure "regular" ActionForward class

           Summary: Configure "regular" ActionForward class
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The default ActionForward class for "global" forwards can be configured through 
the ModuleConfig, but this doesn't affect "regular" ActionForwards associated 
with a specific ActionMapping.

The logic for default Global Forward class was put in in [Bug 26942].

I propose (and will attach a patch) to change the following:

1) In ModuleConfig replace the get/setGlobalForwardClass methods with
 get/setActionForwardClass methods.

2) Change the digester rules, so that both the global forwards and "regular" 
forwards determine the ActionForward class using the new getActionForwardClass
() method in ModuleConfig.

3) Change the digester rules so that if a "type" is specified in the global-
forwards it now calls the new setActionForwardClass() method - this means 
setting a type on the global-forwards will now affect both global and "regular" 
forwards.

Niall

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

Reply via email to