public class UiResult
extends java.lang.Object
UiAction
s with no JavaScript.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
alert
Alert the user with a message.
|
protected java.lang.Boolean |
openWindow
When true open
url in a new tab/window. |
protected java.lang.String |
url
If present redirect browser to this URL.
|
Modifier and Type | Method and Description |
---|---|
static UiResult |
alert(java.lang.String message)
Display an alert message to the user.
|
static UiResult |
openUrl(java.lang.String url)
Launch URL in a new window.
|
static UiResult |
openUrl(java.net.URI uri)
Launch URL in a new window.
|
static UiResult |
redirectUrl(java.lang.String url)
Redirect the browser to a new URL.
|
protected java.lang.String alert
protected java.lang.String url
protected java.lang.Boolean openWindow
url
in a new tab/window.public static UiResult alert(java.lang.String message)
public static UiResult openUrl(java.net.URI uri)
public static UiResult openUrl(java.lang.String url)
public static UiResult redirectUrl(java.lang.String url)