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 Object |
getConvertedValue(javax.faces.context.FacesContext context,
Object newSubmittedValue) |
String |
getFamily() |
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) |
protected void |
saveState() |
void |
setId(String id) |
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) |
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, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListenergetConverter, getLocalValue, setConverteraddClientBehavior, addFacesListener, broadcast, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, 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, setValueExpressionpublic 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.UIInputprotected 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.UIComponentpublic String getClientId(javax.faces.context.FacesContext context)
getClientId in class javax.faces.component.UIComponentBasepublic void encodeBegin(javax.faces.context.FacesContext context)
throws IOException
encodeBegin in class javax.faces.component.UIComponentBaseIOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.component.UIComponentBasepublic 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 void setId(String id)
setId in class javax.faces.component.UIComponentBasepublic void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class javax.faces.component.UIInputpublic void setRequired(boolean required)
setRequired in interface javax.faces.component.EditableValueHoldersetRequired in class javax.faces.component.UIInputpublic 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 InputSeparatorComponentIOExceptionpublic 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.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 validateValue(javax.faces.context.FacesContext context,
Object value)
validateValue in class javax.faces.component.UIInputpublic void validate(javax.faces.context.FacesContext context)
validate 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 boolean isPartialSubmit(javax.faces.context.FacesContext context)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.