com.opensymphony.xwork
Class ActionChainResult

java.lang.Object
  extended bycom.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:

Version:
$Revision: 1.8 $
Author:
$Author: jcarreira $
See Also:
Serialized Form

Field Summary
static String DEFAULT_PARAM
           
 
Constructor Summary
ActionChainResult()
           
 
Method Summary
 boolean equals(Object o)
           
 void execute(ActionInvocation invocation)
          Represents a generic interface for all action execution results, whether that be displaying a webpage, generating an email, sending a JMS message, etc.
 ActionProxy getProxy()
           
 int hashCode()
           
 void setActionName(String actionName)
           
 void setNamespace(String namespace)
          sets the namespace of the Action that we're chaining to.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PARAM

public static final String DEFAULT_PARAM
See Also:
Constant Field Values
Constructor Detail

ActionChainResult

public ActionChainResult()
Method Detail

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

XWork Project Page