You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/04/10 15:29:48 UTC

DO NOT REPLY [Bug 28330] New: - Configure "regular" ActionForward class

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: dev@struts.apache.org
        ReportedBy: niall.pemberton@blueyonder.co.uk


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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org