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 TagEncodingHelper |
helper |
protected InputControl.InputInfo |
inpInfo |
protected static String |
readOnlyState |
protected ControlRenderInfo |
renderInfo |
protected Object |
submittedValue |
protected boolean |
submittedValueDetected |
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,
boolean customInput)
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 |
initInputState(javax.faces.context.FacesContext context) |
boolean |
isCustomInput() |
boolean |
isInputReadOnly() |
boolean |
isInputRequired() |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
void |
renderInput(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent,
boolean allowWrapper) |
protected void |
resetSubmittedValue() |
protected void |
saveState() |
void |
setId(String id) |
void |
setParent(javax.faces.component.UIComponent parent) |
protected void |
setRenderInput(boolean renderInput) |
void |
setSubmittedValue(Object submittedValue) |
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, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListenergetConverter, getLocalValue, setConverteraddClientBehavior, 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, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpressionprotected static final String readOnlyState
protected final TagEncodingHelper helper
protected InputControl control
protected InputControl.InputInfo inpInfo
protected ControlRenderInfo renderInfo
protected boolean submittedValueDetected
protected Object submittedValue
protected boolean valueValidated
protected boolean controlVisible
protected String treeClientId
public String getFamily()
getFamily in class javax.faces.component.UIInputprotected void saveState()
protected boolean initInputState(javax.faces.context.FacesContext context)
public String getId()
getId in class javax.faces.component.UIComponentBasepublic void setId(String id)
setId in class javax.faces.component.UIComponentBasepublic void setParent(javax.faces.component.UIComponent parent)
setParent in class javax.faces.component.UIComponentBasepublic boolean visitTree(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback)
visitTree in class javax.faces.component.UIComponentpublic String getClientId(javax.faces.context.FacesContext context)
getClientId in class javax.faces.component.UIComponentBasepublic boolean getRendersChildren()
getRendersChildren in class javax.faces.component.UIComponentBasepublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionpublic void encodeChildren(javax.faces.context.FacesContext context)
throws IOException
encodeChildren in class javax.faces.component.UIComponentBaseIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context)
throws IOException
encodeEnd in class javax.faces.component.UIComponentBaseIOExceptionpublic boolean isCustomInput()
protected void encodeLabel(javax.faces.context.FacesContext context,
javax.faces.component.UIComponentBase parent,
boolean customInput)
throws IOException
context - the faces contextparent - the LabelSeparatorComponentcustomInput - flag whether a custom input component is usedIOException - from ResponseWriterprotected void encodeInput(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
throws IOException
context - the faces contextparent - the InputSeparatorComponentIOException - from ResponseWriterpublic void renderInput(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent,
boolean allowWrapper)
throws IOException
IOExceptionpublic Object getValue()
getValue in interface javax.faces.component.ValueHoldergetValue in class javax.faces.component.UIInputpublic Object getSubmittedValue()
getSubmittedValue in interface javax.faces.component.EditableValueHoldergetSubmittedValue in class javax.faces.component.UIInputpublic void setSubmittedValue(Object submittedValue)
setSubmittedValue in interface javax.faces.component.EditableValueHoldersetSubmittedValue in class javax.faces.component.UIInputprotected Object getConvertedValue(javax.faces.context.FacesContext context, Object newSubmittedValue) throws javax.faces.convert.ConverterException
getConvertedValue in class javax.faces.component.UIInputjavax.faces.convert.ConverterExceptionpublic void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIInputpublic void processValidators(javax.faces.context.FacesContext context)
processValidators in class javax.faces.component.UIInputpublic void validate(javax.faces.context.FacesContext context)
validate in class javax.faces.component.UIInputpublic void validateValue(javax.faces.context.FacesContext context,
Object value)
validateValue in class javax.faces.component.UIInputpublic void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class javax.faces.component.UIInputpublic void updateModel(javax.faces.context.FacesContext context)
updateModel in class javax.faces.component.UIInputpublic InputControl getInputControl()
public Column getInputColumn()
public boolean isInputReadOnly()
public boolean isInputRequired()
protected void resetSubmittedValue()
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.