|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIParameter
UIParameter is a UIComponent that represents
an optionally named configuration parameter for a parent component.
Parent components should retrieve the value of a parameter by calling
currentValue(). In this way, the parameter value can be set
directly on the component (via setValue()), or retrieved
indirectly via the model reference expression.
In some scenarios, it is necessary to provide a parameter name, in
addition to the parameter value that is accessible via the
currentValue() method.
Renderers that support parameter names on their
nested UIParameter child components should document
their use of this property.
| Field Summary |
| Fields inherited from interface javax.faces.component.UIComponent |
SEPARATOR_CHAR |
| Constructor Summary | |
UIParameter()
Create a new UIParameter instance with default property
values. |
|
| Method Summary | |
java.lang.String |
getName()
Return the optional parameter name for this parameter. |
boolean |
getRendersSelf()
Return true to indicate that no
Renderer needs to be associated
with this component. |
void |
setName(java.lang.String name)
Set the optional parameter name for this parameter. |
| Methods inherited from class javax.faces.component.UIOutput |
currentValue, getValue, getValueRef, setValue, setValueRef |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UIParameter()
Create a new UIParameter instance with default property
values.
| Method Detail |
public java.lang.String getName()
Return the optional parameter name for this parameter.
public void setName(java.lang.String name)
Set the optional parameter name for this parameter.
name - The new parameter name, or null for no namepublic boolean getRendersSelf()
Return true to indicate that no
Renderer needs to be associated
with this component.
getRendersSelf in interface UIComponentgetRendersSelf in class UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||