public interface IForwardAction extends IAction
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getForwardURI()
The URI to go.
|
boolean |
inNewWindow() |
execute, getErrors, getMessages, setEnvironment, setErrors, setMessages
java.lang.String getForwardURI()
If it starts with "http://" or "https://" the action will forward to the absolute URL in internet (since v4m1). Since 4.0.1 if it starts with "javascript:" the corresponding code will executed by the browser. Since 5.9 you should use IJavaScriptPostAction to execute JavaScript because IForwardAction with javascript: does not update the page before executing the JavaScript, but executes the JavaScript instead. If it returns null the forwarding is not done.
boolean inNewWindow()