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 |
encodeLabel |
protected boolean |
hasRequiredFlagSet |
protected TagEncodingHelper |
helper |
protected InputControl.InputInfo |
inpInfo |
protected static String |
readOnlyState |
protected String |
treeClientId
remember original clientId
necessary only inside UIData
|
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) |
protected void |
encodeInput(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
called from InputSeparatorComponent
|
protected void |
encodeLabel(javax.faces.context.FacesContext context,
javax.faces.component.UIComponentBase parent)
called from LabelSeparatorComponent
|
String |
getClientId(javax.faces.context.FacesContext context) |
protected boolean |
getColon() |
protected Object |
getConvertedValue(javax.faces.context.FacesContext context,
Object newSubmittedValue) |
String |
getFamily() |
String |
getId() |
Column |
getInputColumn() |
InputControl |
getInputControl() |
boolean |
getRendersChildren() |
Object |
getSubmittedValue() |
Object |
getValue() |
protected boolean |
initState(javax.faces.context.FacesContext context) |
boolean |
isCustomInput() |
boolean |
isInputReadOnly() |
boolean |
isInputRequired() |
protected boolean |
isPartialSubmit(javax.faces.context.FacesContext context) |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
protected void |
saveState() |
void |
setId(String id) |
protected void |
setRenderInput(boolean renderInput) |
void |
setRequired(boolean required) |
protected void |
updateControlInputState(javax.faces.context.FacesContext context) |
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) |
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConverterMessage, getRequiredMessage, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processUpdates, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, setValueBinding
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
public static String DEFAULT_CONTROL_SEPARATOR_TAG
public static String DEFAULT_LABEL_SEPARATOR_CLASS
public static String DEFAULT_INPUT_SEPARATOR_CLASS
protected static final String readOnlyState
protected final TagEncodingHelper helper
protected InputControl control
protected InputControl.InputInfo inpInfo
protected boolean hasRequiredFlagSet
protected boolean encodeLabel
protected String treeClientId
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.UIComponentBase
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 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 setId(String id)
setId
in class javax.faces.component.UIComponentBase
public String getId()
getId
in class javax.faces.component.UIComponentBase
public void setRequired(boolean required)
setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public boolean isCustomInput()
protected void encodeLabel(javax.faces.context.FacesContext context, javax.faces.component.UIComponentBase parent)
context
- parent
- the LabelSeparatorComponentprotected void encodeInput(javax.faces.context.FacesContext context, javax.faces.component.UIComponent parent) throws IOException
context
- parent
- the InputSeparatorComponentIOException
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 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 validate(javax.faces.context.FacesContext context)
validate
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 updateModel(javax.faces.context.FacesContext context)
updateModel
in class javax.faces.component.UIInput
public InputControl getInputControl()
public Column getInputColumn()
public boolean isInputReadOnly()
public boolean isInputRequired()
protected void updateControlInputState(javax.faces.context.FacesContext context)
protected void setRenderInput(boolean renderInput)
protected boolean getColon()
protected boolean isPartialSubmit(javax.faces.context.FacesContext context)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.