Form-submit action that redirects to a URL built from an MVEL template. Registered under the XML action alias "redirect". When checkRedirect is called, the configured template is evaluated with the current root folder, the current user and the asset available as template variables, and the resulting string is returned as the redirect target. This action performs no form processing and requires no privilege.
Group: Content
Implements: AssetAction
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Short label for this action, naming the configured MVEL template. |
| mvelTemplate | String | The MVEL template that is evaluated to build the redirect URL. |
| requiredPriviledge | Priviledge | Privilege required to invoke this action. Always null, so any user, including anonymous, may invoke it. |
Methods
getMvelTemplate()
Returns: String
The MVEL template that is evaluated to build the redirect URL.
getDescription()
Returns: String
Short label for this action, naming the configured MVEL template.
getRequiredPriviledge()
Returns: Priviledge
Privilege required to invoke this action. Always null, so any user, including anonymous, may invoke it.