public enum ViewHandlerMode extends Enum<ViewHandlerMode>
For a guide on FacesViews, please see the package summary.
FacesViews
,
FacesViewsViewHandler
Enum Constant and Description |
---|
BUILD_WITH_PARENT_QUERY_PARAMETERS
The
FacesViewsViewHandler constructs the action URL itself, but takes the query parameters (if any)
from the outcome of the parent view handler. |
STRIP_EXTENSION_FROM_PARENT
Takes the outcome from the parent view handler and strips the extension from it.
|
Modifier and Type | Method and Description |
---|---|
static ViewHandlerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewHandlerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewHandlerMode STRIP_EXTENSION_FROM_PARENT
This is the default value.
public static final ViewHandlerMode BUILD_WITH_PARENT_QUERY_PARAMETERS
FacesViewsViewHandler
constructs the action URL itself, but takes the query parameters (if any)
from the outcome of the parent view handler.public static ViewHandlerMode[] values()
for (ViewHandlerMode c : ViewHandlerMode.values()) System.out.println(c);
public static ViewHandlerMode 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 © 2012–2016 OmniFaces. All rights reserved.