public class InputTag
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer
Modifier and Type | Field and Description |
---|---|
protected InputControl |
control |
protected boolean |
hasRequiredFlagSet |
protected TagEncodingHelper |
helper |
protected InputControl.InputInfo |
inpInfo |
protected static String |
readOnlyState |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
Constructor and Description |
---|
InputTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
attachEvents(javax.faces.context.FacesContext context) |
void |
encodeBegin(javax.faces.context.FacesContext context) |
String |
getClientId(javax.faces.context.FacesContext context) |
protected Object |
getConvertedValue(javax.faces.context.FacesContext context,
Object newSubmittedValue) |
String |
getFamily() |
Column |
getInputColumn() |
Object |
getSubmittedValue() |
Object |
getValue() |
protected boolean |
initState(javax.faces.context.FacesContext context) |
boolean |
isInputReadOnly() |
boolean |
isInputRequired() |
protected boolean |
isPartialSubmit(javax.faces.context.FacesContext context) |
void |
processDecodes(javax.faces.context.FacesContext context) |
protected void |
saveState() |
void |
setId(String id) |
protected void |
setRenderInput(boolean renderInput) |
void |
setRequired(boolean required) |
void |
updateModel(javax.faces.context.FacesContext context) |
void |
validate(javax.faces.context.FacesContext context) |
void |
validateValue(javax.faces.context.FacesContext context,
Object value) |
boolean |
visitTree(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback) |
protected String |
writeStartElement(InputControl.ValueInfo vi,
javax.faces.context.ResponseWriter writer)
write value element
|
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
protected static final String readOnlyState
protected final TagEncodingHelper helper
protected InputControl control
protected InputControl.InputInfo inpInfo
protected boolean hasRequiredFlagSet
public String getFamily()
getFamily
in class javax.faces.component.UIInput
protected void saveState()
protected boolean initState(javax.faces.context.FacesContext context)
public boolean visitTree(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback)
visitTree
in class javax.faces.component.UIComponent
public String getClientId(javax.faces.context.FacesContext context)
getClientId
in class javax.faces.component.UIComponentBase
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public void setId(String id)
setId
in class javax.faces.component.UIComponentBase
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIInput
public void setRequired(boolean required)
setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public Object getValue()
getValue
in interface javax.faces.component.ValueHolder
getValue
in class javax.faces.component.UIInput
public Object getSubmittedValue()
getSubmittedValue
in interface javax.faces.component.EditableValueHolder
getSubmittedValue
in class javax.faces.component.UIInput
protected Object getConvertedValue(javax.faces.context.FacesContext context, Object newSubmittedValue) throws javax.faces.convert.ConverterException
getConvertedValue
in class javax.faces.component.UIInput
javax.faces.convert.ConverterException
public void validateValue(javax.faces.context.FacesContext context, Object value)
validateValue
in class javax.faces.component.UIInput
public void validate(javax.faces.context.FacesContext context)
validate
in class javax.faces.component.UIInput
public void updateModel(javax.faces.context.FacesContext context)
updateModel
in class javax.faces.component.UIInput
public Column getInputColumn()
public boolean isInputReadOnly()
public boolean isInputRequired()
protected void setRenderInput(boolean renderInput)
protected boolean isPartialSubmit(javax.faces.context.FacesContext context)
protected String writeStartElement(InputControl.ValueInfo vi, javax.faces.context.ResponseWriter writer) throws IOException
vi
- writer
- IOException
protected void attachEvents(javax.faces.context.FacesContext context)
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.