public class UIOutcomeTarget extends UIOutput
This component is paired with the
javax.faces.Button
or javax.faces.Link
renderers and encapsulates properties relating to the rendering of
outcomes directly to the response. This enables bookmarkability in
JSF applications.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY
The standard component family for this component.
|
static String |
COMPONENT_TYPE
The standard component type for this component.
|
bindings
Constructor and Description |
---|
UIOutcomeTarget()
Create a new
UIOutcomeTarget instance with default property
values. |
Modifier and Type | Method and Description |
---|---|
String |
getFamily()
Return the identifier of the component family to which this
component belongs.
|
String |
getOutcome()
Returns the |
boolean |
isIncludeViewParams()
Return whether or not the view parameters should be encoded into the target url. |
void |
setIncludeViewParams(boolean includeViewParams)
Set whether or not the page parameters should be encoded into the target url. |
void |
setOutcome(String outcome)
Sets the |
getConverter, getLocalValue, getValue, restoreState, saveState, setConverter, setValue
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_TYPE
The standard component type for this component.
public static final String COMPONENT_FAMILY
The standard component family for this component.
public UIOutcomeTarget()
Create a new UIOutcomeTarget
instance with default property
values.
public String getFamily()
UIComponent
Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType
property, may be used to select
the appropriate Renderer
for this component instance.
public boolean isIncludeViewParams()
Return whether or not the view parameters should be encoded into the target url.
public void setIncludeViewParams(boolean includeViewParams)
Set whether or not the page parameters should be encoded into the target url.
includeViewParams
- The state of the switch for encoding
page parameterspublic String getOutcome()
Returns the outcome
property of the UIOutcomeTarget
. This value is
passed to the NavigationHandler
when resolving the target url of this component.
public void setOutcome(String outcome)
Sets the outcome
property of the UIOutcomeTarget
. This value is
passed to the NavigationHandler when resolving the target url of
this component.
outcome
- the navigation outcomeCopyright © 2018 JBoss by Red Hat. All rights reserved.