struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r579210 - /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java
Date Tue, 25 Sep 2007 11:55:39 GMT
Author: mrdon
Date: Tue Sep 25 04:55:37 2007
New Revision: 579210

URL: http://svn.apache.org/viewvc?rev=579210&view=rev
Log:
Hopefully improved method calls for the action tag
WW-2102

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java?rev=579210&r1=579209&r2=579210&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java
(original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/ActionComponent.java
Tue Sep 25 04:55:37 2007
@@ -279,9 +279,7 @@
         try {
 
             proxy = actionProxyFactory.createActionProxy(namespace, actionName, createExtraContext(),
executeResult, true);
-            if (null != methodName) {
-                proxy.setMethod(methodName);
-            }
+            proxy.setMethod(methodName);
             // set the new stack into the request for the taglib to use
             req.setAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY, proxy.getInvocation().getStack());
             proxy.execute();



Mime
View raw message