com.opensymphony.xwork
Class ActionChainResult
java.lang.Object
com.opensymphony.xwork.ActionChainResult
- All Implemented Interfaces:
- Result, Serializable
- public class ActionChainResult
- extends Object
- implements Result
A special kind of view that invokes GenericDispatch (using the previously existing
ActionContext) and executes another action. This view takes one required parameter:
- actionName - the name of the action that will be chained to
- Version:
- $Revision: 1.8 $
- Author:
- $Author: jcarreira $
- See Also:
- Serialized Form
DEFAULT_PARAM
public static final String DEFAULT_PARAM
- See Also:
- Constant Field Values
ActionChainResult
public ActionChainResult()
setActionName
public void setActionName(String actionName)
setNamespace
public void setNamespace(String namespace)
- sets the namespace of the Action that we're chaining to. if namespace
is null, this defaults to the current namespace.
- Parameters:
namespace
- the name of the namespace we're chaining to
getProxy
public ActionProxy getProxy()
equals
public boolean equals(Object o)
execute
public void execute(ActionInvocation invocation)
throws Exception
- Description copied from interface:
Result
- Represents a generic interface for all action execution results, whether that be displaying a webpage, generating
an email, sending a JMS message, etc.
- Specified by:
execute
in interface Result
- Parameters:
invocation
- the DefaultActionInvocation calling the action call stack
- Throws:
Exception
hashCode
public int hashCode()