java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
All Implemented Interfaces:
ValueHolder, PartialStateHolder, ComponentSystemEventListener, SystemEventListenerHolder
UIOutput is a UIComponent that has a value, optionally retrieved from a model tier bean via a value expression, that is displayed to the user. The user cannot directly modify the rendered value; it is for display purposes only.
During the Render Response phase of the request processing lifecycle, the current value of this component must be converted to a String (if it is not already), according to the following rules:
null
, and is not already
a String
, locate a Converter (if any) to use
for the conversion, as follows:
null
and a Converter
was located, call its getAsString()
method to perform
the conversion.null
but no Converter
was located, call toString()
on the current value to perform
the conversion.By default, the rendererType
property must be set to
"javax.faces.Text
". This value can be changed by calling the
setRendererType()
method.
Nested Class Summary: | ||
---|---|---|
enum class | UIOutput.PropertyKeys |
Field Summary | ||
---|---|---|
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. |
Constructor: |
---|
Create a new UIOutput instance with default property values. |
Method from javax.faces.component.UIOutput Summary: |
---|
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.component.UIOutput Detail: |
---|
|
|
|
|
|
In addition to the actions taken in UIComponentBase when PartialStateHolder#markInitialState() is called, check if the installed Converter is a PartialStateHolder and if it is, call javax.faces.component.PartialStateHolder#markInitialState() on it. |
|
|
|
|