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();