Wiki Markup |
---|
{snippet:id=description|javadoc=true|url=com.opensymphony.xwork2.ActionChainResult} |
Parameters
Wiki Markup |
---|
{snippet:id=params|javadoc=true|url=com.opensymphony.xwork2.ActionChainResult} |
Examples
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=com.opensymphony.xwork2.ActionChainResult} |
Action Chaining
A special kind of view that invokes GenericDispatch (using the previously existing ActionContext) and executes another action. This is useful if you need to execute one action immediately after another.
Parameters | Required | Description |
---|---|---|
actionName | yes | the name of the action that will be chained to |
namespace | no | sets the namespace of the Action that we're chaining to. If namespace is null, this defaults to the current namespace. |
Code Block |
---|
<result name="success" type="chain">
<param name="actionName">bar</param>
<param name="namespace">/foo</param>
</result>
|
invokes this
Code Block |
---|
<action name="bar" class="myPackage.barAction">
...
</action>
|