<c:invokeTransform>

Standard JET2 Control Tags

invokeTransform

Invoke the another transform, passing it the current transform's source model and context variables. The transform's actions will be accumulated, and commit when the invoking transform commits.

The attribute 'passVariables' allows explicit declaration of the variables that are passed to the transform. By default, all context variables are available. With this parameter, only those variables specified are available. In addition, any changes to passed variables are not reflected in the invoking context.

The deprecated 'restoreNames' attribute allows for the restoration of variables set by the invoked transform back to their pre-invocation value.

The 'restoreNames' and 'passVariables' options are mutually exclusive.


Tag Summary
required <c:invokeTransform transformId="value"/>
full tag <c:invokeTransform transformId="value" restoreNames="value" passVariables="value"/>

Required Attributes
transformId
The transform id of the transform to invoke.

Optional Attributes
restoreNames
A comma separated list of variable names (without the $ sign). Mutually exclusive with 'passVariables'.
passVariables
A comma separated list of variable names (without the $ sign). Mutually exclusive with 'restoreNames'.

Example
<c:invokeTransform transformId="value"/>