public class UIValueHolder extends UIInput
Can be bound to a value as an input component, or not.
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID| Constructor and Description |
|---|
UIValueHolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(FacesEvent event) |
void |
encodeChildren(FacesContext context) |
Object |
getDefaultValue() |
String |
getFamily() |
String |
getRendererType() |
boolean |
getRendersChildren() |
Boolean |
getSubmitValue() |
Object |
getValueToExpose() |
String |
getVar() |
boolean |
invokeOnComponent(FacesContext context,
String clientId,
ContextCallback callback) |
void |
processDecodes(FacesContext context) |
void |
processUpdates(FacesContext context) |
void |
processValidators(FacesContext context) |
void |
queueEvent(FacesEvent event) |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context)
Saves the locally set literal values kept on the component (from
standard tags attributes) and since 5.6, also saves the submitted value
as
UIInput.saveState(FacesContext) does not do it (see
NXP-8898). |
void |
setDefaultValue(Object defaultValue) |
void |
setSubmitValue(Boolean submitValue) |
void |
setVar(String var) |
addValidator, addValueChangeListener, decode, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validategetConverter, getLocalValue, getValue, setConverterencodeBegin, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingencodeAll, getContainerClientId, getValueExpression, setValueExpressionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConverter, getLocalValue, getValue, setConverterpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getRendererType()
getRendererType in class UIComponentBasepublic boolean getRendersChildren()
getRendersChildren in class UIComponentBasepublic void broadcast(FacesEvent event)
broadcast in class UIComponentBasepublic void queueEvent(FacesEvent event)
queueEvent in class UIComponentBasepublic boolean invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) throws FacesException
invokeOnComponent in class UIComponentBaseFacesExceptionpublic void encodeChildren(FacesContext context) throws IOException
encodeChildren in class UIComponentBaseIOExceptionpublic void processDecodes(FacesContext context)
processDecodes in class UIInputpublic void processValidators(FacesContext context)
processValidators in class UIInputpublic void processUpdates(FacesContext context)
processUpdates in class UIInputpublic String getVar()
public void setVar(String var)
public Object getDefaultValue()
public void setDefaultValue(Object defaultValue)
public Boolean getSubmitValue()
public void setSubmitValue(Boolean submitValue)
public Object getValueToExpose()
public void restoreState(FacesContext context, Object state)
restoreState in interface StateHolderrestoreState in class UIInputpublic Object saveState(FacesContext context)
UIInput.saveState(FacesContext) does not do it (see
NXP-8898).saveState in interface StateHoldersaveState in class UIInputCopyright © 2012 Nuxeo SA. All Rights Reserved.