Class SelectTag
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
javax.faces.component.UIInput
org.apache.empire.jsf2.components.SelectTag
- 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
public class SelectTag
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer
-
Field Summary
FieldsFields 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 voidaddAttachedObjects(javax.faces.context.FacesContext context, javax.faces.component.UIInput inputComponent) protected voidprotected voidcopyAttributes(javax.faces.component.UISelectOne input) protected javax.faces.component.UIInputcreateSelectOneMenu(TextResolver textResolver) voidencodeBegin(javax.faces.context.FacesContext context) getClientId(javax.faces.context.FacesContext context) protected javax.faces.component.UIInputprotected Stringprotected Stringprotected Optionsprotected booleanprotected booleanprotected voidsetInputDisabled(javax.faces.component.UISelectOne input, boolean disabled) protected final voidsetInputStyleClass(javax.faces.component.UISelectOne input) protected voidsetInputValue(javax.faces.component.UISelectOne input) protected voidupdateAttachedObjects(javax.faces.context.FacesContext context, javax.faces.component.UIInput inputComponent) voidupdateModel(javax.faces.context.FacesContext context) voidvalidate(javax.faces.context.FacesContext context) 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, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, validateValueMethods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverterMethods inherited from class javax.faces.component.UIComponentBase
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, setId, setParent, 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
-
SELECT_COMPONENT_ID
- See Also:
-
control
-
-
Constructor Details
-
SelectTag
public SelectTag()
-
-
Method Details
-
getFamily
- Overrides:
getFamilyin classjavax.faces.component.UIInput
-
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
-
encodeBegin
- Overrides:
encodeBeginin classjavax.faces.component.UIComponentBase- Throws:
IOException
-
validate
public void validate(javax.faces.context.FacesContext context) - Overrides:
validatein classjavax.faces.component.UIInput
-
updateModel
public void updateModel(javax.faces.context.FacesContext context) - Overrides:
updateModelin classjavax.faces.component.UIInput
-
getInputComponent
protected javax.faces.component.UIInput getInputComponent() -
getOptionList
-
isAllowNull
protected boolean isAllowNull() -
getNullText
-
getInputControl
-
isDisabled
protected boolean isDisabled() -
createSelectOneMenu
-
setInputStyleClass
protected final void setInputStyleClass(javax.faces.component.UISelectOne input) -
setInputValue
protected void setInputValue(javax.faces.component.UISelectOne input) -
copyAttributes
protected void copyAttributes(javax.faces.component.UISelectOne input) -
addAttachedObjects
protected void addAttachedObjects(javax.faces.context.FacesContext context, javax.faces.component.UIInput inputComponent) -
updateAttachedObjects
protected void updateAttachedObjects(javax.faces.context.FacesContext context, javax.faces.component.UIInput inputComponent) -
setInputDisabled
protected void setInputDisabled(javax.faces.component.UISelectOne input, boolean disabled) -
copyAttribute
-