public class UIValueHolder extends javax.faces.component.html.HtmlInputText implements ResettableComponent
Can be bound to a value as an input component, or not submit the value and still expose it to the context at build time as well as at render time.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIValueHolder() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
String |
getFaceletId() |
String |
getFamily() |
String |
getRendererType() |
boolean |
getRendersChildren() |
Object |
getSubmittedValue() |
Boolean |
getSubmitValue() |
Object |
getValueToExpose() |
String |
getVar() |
boolean |
invokeOnComponent(javax.faces.context.FacesContext context,
String clientId,
javax.faces.component.ContextCallback callback) |
NuxeoValueHolderBean |
lookupBean(javax.faces.context.FacesContext ctx) |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
void |
resetCachedModel()
Resets the value holder local values
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.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 |
setSubmittedValue(Object submittedValue) |
void |
setSubmitValue(Boolean submitValue) |
void |
setValue(Object value) |
void |
setVar(String var) |
boolean |
visitTree(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback) |
getAccesskey, getAlt, getAutocomplete, getDefaultEventName, getDir, getEventNames, getLabel, getLang, getMaxlength, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getSize, getStyle, getStyleClass, getTabindex, getTitle, isDisabled, isReadonly, setAccesskey, setAlt, setAutocomplete, setDir, setDisabled, setLabel, setLang, setMaxlength, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setSize, setStyle, setStyleClass, setTabindex, setTitle
addValidator, addValueChangeListener, clearInitialState, decode, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setValid, setValidator, setValidatorMessage, setValueChangeListener, updateModel, validate
getConverter, getLocalValue, setConverter
addClientBehavior, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public String getRendererType()
getRendererType
in class javax.faces.component.UIComponentBase
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
public void broadcast(javax.faces.event.FacesEvent event)
broadcast
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIComponentBase
public boolean invokeOnComponent(javax.faces.context.FacesContext context, String clientId, javax.faces.component.ContextCallback callback) throws javax.faces.FacesException
invokeOnComponent
in class javax.faces.component.UIComponentBase
javax.faces.FacesException
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void encodeChildren(javax.faces.context.FacesContext context) throws IOException
encodeChildren
in class javax.faces.component.UIComponentBase
IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws IOException
encodeEnd
in class javax.faces.component.UIComponentBase
IOException
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIInput
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class javax.faces.component.UIInput
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIInput
public String getVar()
public void setVar(String var)
public Boolean getSubmitValue()
public void setSubmitValue(Boolean submitValue)
public Object getValueToExpose()
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
public Object saveState(javax.faces.context.FacesContext context)
UIInput.saveState(FacesContext)
does not do it (see NXP-8898).saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void resetCachedModel()
resetCachedModel
in interface ResettableComponent
public boolean visitTree(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIComponent
public String getFaceletId()
public NuxeoValueHolderBean lookupBean(javax.faces.context.FacesContext ctx)
public void setSubmittedValue(Object submittedValue)
setSubmittedValue
in interface javax.faces.component.EditableValueHolder
setSubmittedValue
in class javax.faces.component.UIInput
public Object getSubmittedValue()
getSubmittedValue
in interface javax.faces.component.EditableValueHolder
getSubmittedValue
in class javax.faces.component.UIInput
public void setValue(Object value)
setValue
in interface javax.faces.component.ValueHolder
setValue
in class javax.faces.component.UIInput
Copyright © 2015 Nuxeo SA. All rights reserved.