public class ControlTag
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer
Modifier and Type | Class and Description |
---|---|
static class |
ControlTag.ControlSeparatorComponent
ControlSeparatorComponent
|
static class |
ControlTag.InputSeparatorComponent |
static class |
ControlTag.LabelSeparatorComponent |
static class |
ControlTag.ValueOutputComponent |
Modifier and Type | Field and Description |
---|---|
protected InputControl |
control |
protected boolean |
controlVisible |
protected boolean |
encodeLabel |
protected TagEncodingHelper |
helper |
protected InputControl.InputInfo |
inpInfo |
protected static String |
readOnlyState |
protected ControlRenderInfo |
renderInfo |
protected String |
treeClientId
remember original clientId
necessary only inside UIData
|
protected boolean |
valueValidated |
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() |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
protected void |
saveState() |
void |
setId(String id) |
void |
setParent(javax.faces.component.UIComponent parent) |
protected void |
setRenderInput(boolean renderInput) |
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, 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, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener
getConverter, getLocalValue, setConverter
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, 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 ControlRenderInfo renderInfo
protected boolean encodeLabel
protected boolean valueValidated
protected boolean controlVisible
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 String getId()
getId
in class javax.faces.component.UIComponentBase
public void setId(String id)
setId
in class javax.faces.component.UIComponentBase
public void setParent(javax.faces.component.UIComponent parent)
setParent
in class javax.faces.component.UIComponentBase
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 boolean getRendersChildren()
getRendersChildren
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 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 boolean isCustomInput()
protected void encodeLabel(javax.faces.context.FacesContext context, javax.faces.component.UIComponentBase parent) throws IOException
context
- the faces contextparent
- the LabelSeparatorComponentIOException
- from ResponseWriterprotected void encodeInput(javax.faces.context.FacesContext context, javax.faces.component.UIComponent parent) throws IOException
context
- the faces contextparent
- the InputSeparatorComponentIOException
- from ResponseWriterpublic 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()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.