public class ControlTag
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer
Modifier and Type | Class and Description |
---|---|
static class |
ControlTag.ControlSeparatorComponent |
static class |
ControlTag.InputSeparatorComponent |
static class |
ControlTag.LabelSeparatorComponent |
static class |
ControlTag.ValueOutputComponent |
Modifier and Type | Field and Description |
---|---|
protected InputControl |
control |
static String |
DEFAULT_CONTROL_SEPARATOR_TAG |
static String |
DEFAULT_INPUT_SEPARATOR_CLASS |
static String |
DEFAULT_LABEL_SEPARATOR_CLASS |
protected boolean |
hasRequiredFlagSet |
protected TagEncodingHelper |
helper |
protected InputControl.InputInfo |
inpInfo |
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID, VALIDATE_EMPTY_FIELDS_PARAM_NAME
Constructor and Description |
---|
ControlTag() |
Modifier and Type | Method and Description |
---|---|
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
String |
getFamily() |
Column |
getInputColumn() |
boolean |
getRendersChildren() |
Object |
getSubmittedValue() |
Object |
getValue() |
boolean |
isCustomInput() |
boolean |
isInputReadOnly() |
boolean |
isInputRequired() |
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) |
addValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public static String DEFAULT_CONTROL_SEPARATOR_TAG
public static String DEFAULT_LABEL_SEPARATOR_CLASS
public static String DEFAULT_INPUT_SEPARATOR_CLASS
protected final TagEncodingHelper helper
protected InputControl control
protected InputControl.InputInfo inpInfo
protected boolean hasRequiredFlagSet
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public void encodeBegin(javax.faces.context.FacesContext context) throws IOException
encodeBegin
in class javax.faces.component.UIComponentBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
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 setRequired(boolean required)
setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public boolean isCustomInput()
public Object getValue()
getValue
in interface javax.faces.component.ValueHolder
getValue
in class javax.faces.component.UIOutput
public Object getSubmittedValue()
getSubmittedValue
in interface javax.faces.component.EditableValueHolder
getSubmittedValue
in class javax.faces.component.UIInput
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()
Copyright © 2008–2015 Apache Software Foundation. All rights reserved.