Top Description Inners Fields Constructors Methods
javax.faces.component

public Class UIOutcomeTarget

extends UIOutput
Class Inheritance
Known Direct Subclasses
javax.faces.component.html.HtmlOutcomeTargetLink, javax.faces.component.html.HtmlOutcomeTargetButton

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.

Since
2.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static enum

Field Summary

Modifier and TypeField and Description
public static final String
COMPONENT_FAMILY

Hides javax.faces.component.UIOutput.COMPONENT_FAMILY.

The standard component family for this component.

public static final String
COMPONENT_TYPE

Hides javax.faces.component.UIOutput.COMPONENT_TYPE.

The standard component type for this component.

Constructor Summary

AccessConstructor and Description
public
UIOutcomeTarget()

Create a new UIOutcomeTarget instance with default property values.

Method Summary

Modifier and TypeMethod and Description
public String
getFamily()

Overrides javax.faces.component.UIOutput.getFamily.

Return the identifier of the component family to which this component belongs.

public String

Returns:

the outcome.
getOutcome
()

Returns the outcome property of the UIOutcomeTarget.

public boolean

Returns:

true if the client window should NOT be encoded in the url, false otherwise.
isDisableClientWindow
()

Return whether or not the client window should be encoded into the target url.

public boolean

Returns:

true if the view parameters should be encoded in the url, false otherwise.
isIncludeViewParams
()

Return whether or not the view parameters should be encoded into the target url.

public void
setDisableClientWindow(boolean
if @{code true}, the client window will not be included in this outcome target.
disableClientWindow
)

Set whether or not the client window should be encoded into the target url.

public void
setIncludeViewParams(boolean
The state of the switch for encoding page parameters
includeViewParams
)

Set whether or not the page parameters should be encoded into the target url.

public void
setOutcome(String
the navigation outcome
outcome
)

Sets the outcome property of the UIOutcomeTarget.

Inherited from javax.faces.component.UIOutput:
clearInitialStategetConvertergetLocalValuegetValuemarkInitialStateresetValuerestoreStatesaveStatesetConvertersetValue

Field Detail

COMPONENT_FAMILYback to summary
public static final String COMPONENT_FAMILY

Hides javax.faces.component.UIOutput.COMPONENT_FAMILY.

The standard component family for this component.

COMPONENT_TYPEback to summary
public static final String COMPONENT_TYPE

Hides javax.faces.component.UIOutput.COMPONENT_TYPE.

The standard component type for this component.

Constructor Detail

UIOutcomeTargetback to summary
public UIOutcomeTarget()

Create a new UIOutcomeTarget instance with default property values.

Method Detail

getFamilyback to summary
public String getFamily()

Overrides javax.faces.component.UIOutput.getFamily.

Doc from javax.faces.component.UIComponent.getFamily.

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. Note this method should NOT return null

Returns:String

the component family (not null).

Annotations
@Override
getOutcomeback to summary
public String getOutcome()

Returns the outcome property of the UIOutcomeTarget. This value is passed to the javax.faces.application.NavigationHandler when resolving the target url of this component.

Returns:String

the outcome.

Since
2.0
isDisableClientWindowback to summary
public boolean isDisableClientWindow()

Return whether or not the client window should be encoded into the target url.

Returns:boolean

true if the client window should NOT be encoded in the url, false otherwise.

Since
2.0
isIncludeViewParamsback to summary
public boolean isIncludeViewParams()

Return whether or not the view parameters should be encoded into the target url.

Returns:boolean

true if the view parameters should be encoded in the url, false otherwise.

Since
2.0
setDisableClientWindowback to summary
public void setDisableClientWindow(boolean disableClientWindow)

Set whether or not the client window should be encoded into the target url.

Parameters
disableClientWindow:boolean

if @{code true}, the client window will not be included in this outcome target.

Since
2.2
setIncludeViewParamsback to summary
public void setIncludeViewParams(boolean includeViewParams)

Set whether or not the page parameters should be encoded into the target url.

Parameters
includeViewParams:boolean

The state of the switch for encoding page parameters

Since
2.0
setOutcomeback to summary
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.

Parameters
outcome:String

the navigation outcome

Since
2.0
javax.faces.component back to summary

pack-priv final Enum UIOutcomeTarget.PropertyKeys

extends Enum<UIOutcomeTarget.PropertyKeys>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final UIOutcomeTarget.PropertyKeys
public static final UIOutcomeTarget.PropertyKeys
public static final UIOutcomeTarget.PropertyKeys

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static UIOutcomeTarget.PropertyKeys
public static UIOutcomeTarget.PropertyKeys[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

disableClientWindowback to summary
public static final UIOutcomeTarget.PropertyKeys disableClientWindow
includeViewParamsback to summary
public static final UIOutcomeTarget.PropertyKeys includeViewParams
outcomeback to summary
public static final UIOutcomeTarget.PropertyKeys outcome

Constructor Detail

PropertyKeysback to summary
private PropertyKeys()

Method Detail

valueOfback to summary
public static UIOutcomeTarget.PropertyKeys valueOf(String name)
valuesback to summary
public static UIOutcomeTarget.PropertyKeys[] values()