public static enum ClientWindowConfig.ClientWindowRenderMode extends Enum<ClientWindowConfig.ClientWindowRenderMode>
Enum Constant and Description |
---|
CLIENTWINDOW
The GET request results in an intermediate small html page which
checks if the browser tab fits the selected windowId
|
CUSTOM
If you set this mode, you also need to provide an own
ClientWindow implementation. |
DELEGATED
Delegates to the default window-handling of JSF 2.2+ (if configured)
|
LAZY
Render each GET request with the windowId you get during the request
and perform a lazy check on the client side via JavaScript or similar.
|
NONE
Any window or browser tab detection is disabled for this request
|
Modifier and Type | Method and Description |
---|---|
static ClientWindowConfig.ClientWindowRenderMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientWindowConfig.ClientWindowRenderMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientWindowConfig.ClientWindowRenderMode NONE
public static final ClientWindowConfig.ClientWindowRenderMode CLIENTWINDOW
The GET request results in an intermediate small html page which checks if the browser tab fits the selected windowId
The ClientWindow html extracts the windowId from the window.name and enforces a 2nd GET which will contain the windowId and will get routed through to the target JSF page.
public static final ClientWindowConfig.ClientWindowRenderMode LAZY
public static final ClientWindowConfig.ClientWindowRenderMode DELEGATED
public static final ClientWindowConfig.ClientWindowRenderMode CUSTOM
ClientWindow
implementation.public static ClientWindowConfig.ClientWindowRenderMode[] values()
for (ClientWindowConfig.ClientWindowRenderMode c : ClientWindowConfig.ClientWindowRenderMode.values()) System.out.println(c);
public static ClientWindowConfig.ClientWindowRenderMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 The Apache Software Foundation. All rights reserved.