Class InputTag
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.apache.empire.jsf2.components.InputTag
- All Implemented Interfaces:
EventListener,javax.faces.component.EditableValueHolder,javax.faces.component.NamingContainer,javax.faces.component.PartialStateHolder,javax.faces.component.StateHolder,javax.faces.component.TransientStateHolder,javax.faces.component.ValueHolder,javax.faces.event.ComponentSystemEventListener,javax.faces.event.FacesListener,javax.faces.event.SystemEventListenerHolder,TagEncodingHelperFactory.TagEncodingHolder
public class InputTag
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer, TagEncodingHelperFactory.TagEncodingHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InputControlprotected final TagEncodingHelperprotected InputControl.InputInfoprotected static final Stringprotected Objectprotected booleanprotected booleanFields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAMEFields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEYFields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidattachEvents(javax.faces.context.FacesContext context) voidencodeBegin(javax.faces.context.FacesContext context) voidencodeChildren(javax.faces.context.FacesContext context) voidencodeEnd(javax.faces.context.FacesContext context) getClientId(javax.faces.context.FacesContext context) protected ObjectgetConvertedValue(javax.faces.context.FacesContext context, Object newSubmittedValue) getId()booleangetValue()protected booleaninitState(javax.faces.context.FacesContext context) booleanbooleanvoidprocessDecodes(javax.faces.context.FacesContext context) voidprocessUpdates(javax.faces.context.FacesContext context) voidprocessValidators(javax.faces.context.FacesContext context) protected voidprotected voidvoidvoidsetParent(javax.faces.component.UIComponent parent) protected voidsetRenderInput(boolean renderInput) voidsetSubmittedValue(Object submittedValue) protected voidupdateControlInputState(javax.faces.context.FacesContext context) voidupdateModel(javax.faces.context.FacesContext context) voidvalidate(javax.faces.context.FacesContext context) voidvalidateValue(javax.faces.context.FacesContext context, Object value) booleanvisitTree(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback) Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListenerMethods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverterMethods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventMethods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
-
Field Details
-
readOnlyState
- See Also:
-
helper
-
control
-
inpInfo
-
submittedValueDetected
protected boolean submittedValueDetected -
submittedValue
-
valueValidated
protected boolean valueValidated
-
-
Constructor Details
-
InputTag
public InputTag()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIInput
-
getEncodingHelper
- Specified by:
getEncodingHelperin interfaceTagEncodingHelperFactory.TagEncodingHolder
-
saveState
protected void saveState() -
initState
protected boolean initState(javax.faces.context.FacesContext context) -
visitTree
public boolean visitTree(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback) - Overrides:
visitTreein classjavax.faces.component.UIComponent
-
getClientId
- Overrides:
getClientIdin classjavax.faces.component.UIComponentBase
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classjavax.faces.component.UIComponentBase
-
encodeBegin
- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
encodeChildren
- Overrides:
encodeChildrenin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
encodeEnd
- Overrides:
encodeEndin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
getId
- Overrides:
getIdin classjavax.faces.component.UIComponentBase
-
setId
- Overrides:
setIdin classjavax.faces.component.UIComponentBase
-
setParent
public void setParent(javax.faces.component.UIComponent parent) - Overrides:
setParentin classjavax.faces.component.UIComponentBase
-
getValue
- Specified by:
getValuein interfacejavax.faces.component.ValueHolder- Overrides:
getValuein classjavax.faces.component.UIInput
-
getSubmittedValue
- Specified by:
getSubmittedValuein interfacejavax.faces.component.EditableValueHolder- Overrides:
getSubmittedValuein classjavax.faces.component.UIInput
-
setSubmittedValue
- Specified by:
setSubmittedValuein interfacejavax.faces.component.EditableValueHolder- Overrides:
setSubmittedValuein classjavax.faces.component.UIInput
-
getConvertedValue
protected Object getConvertedValue(javax.faces.context.FacesContext context, Object newSubmittedValue) throws javax.faces.convert.ConverterException - Overrides:
getConvertedValuein classjavax.faces.component.UIInput- Throws:
javax.faces.convert.ConverterException
-
processDecodes
public void processDecodes(javax.faces.context.FacesContext context) - Overrides:
processDecodesin classjavax.faces.component.UIInput
-
processValidators
public void processValidators(javax.faces.context.FacesContext context) - Overrides:
processValidatorsin classjavax.faces.component.UIInput
-
validate
public void validate(javax.faces.context.FacesContext context) - Overrides:
validatein classjavax.faces.component.UIInput
-
validateValue
- Overrides:
validateValuein classjavax.faces.component.UIInput
-
processUpdates
public void processUpdates(javax.faces.context.FacesContext context) - Overrides:
processUpdatesin classjavax.faces.component.UIInput
-
updateModel
public void updateModel(javax.faces.context.FacesContext context) - Overrides:
updateModelin classjavax.faces.component.UIInput
-
getInputColumn
-
isInputReadOnly
public boolean isInputReadOnly() -
isInputRequired
public boolean isInputRequired() -
resetSubmittedValue
protected void resetSubmittedValue() -
updateControlInputState
protected void updateControlInputState(javax.faces.context.FacesContext context) -
setRenderInput
protected void setRenderInput(boolean renderInput) -
attachEvents
protected void attachEvents(javax.faces.context.FacesContext context)
-