You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

<result name="success" type="chain">
    <param name="actionName">bar</param>
    <param name="namespace">/foo</param>
</result>

invokes this

<action name="bar" class="myPackage.barAction">
    ...
</action>
  • No labels