|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UIOutput javax.faces.component.UIInput javax.faces.component.UISelectOne com.ibm.xsp.component.UISelectOneEx
public class UISelectOneEx
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase |
---|
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator |
Nested classes/interfaces inherited from class javax.faces.component.UIComponent |
---|
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry |
Field Summary |
---|
Fields inherited from class javax.faces.component.UISelectOne |
---|
COMPONENT_FAMILY, COMPONENT_TYPE, INVALID_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIInput |
---|
CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID |
Fields inherited from class javax.faces.component.UIComponentBase |
---|
EMPTY_ITERATOR |
Fields inherited from class javax.faces.component.UIComponent |
---|
_xspStateId |
Constructor Summary | |
---|---|
UISelectOneEx()
|
Method Summary | |
---|---|
void |
addDojoAttribute(DojoAttribute attribute)
Add a dojo attribute to the set associated with this property. |
void |
encodeBegin(javax.faces.context.FacesContext context)
|
void |
encodeEnd(javax.faces.context.FacesContext context)
|
java.lang.Object |
getDefaultValue()
Similar to UIInputEx.getDefaultValue() except the default value
must be the value part of one of the label/value pairs allowed as the value
for this control. |
java.util.List<DojoAttribute> |
getDojoAttributes()
Return the value of the dojoAttributes property. |
java.lang.String |
getDojoType()
Return the value of the dojoType property. |
java.lang.String |
getRequiredMessage()
Similar to UIInputEx.getRequiredMessage() . |
java.lang.String |
getStyleKitFamily()
The styleKitFamily is basically the default themeId, to use if the "themeId" property is not set on this control instance in the XPage source. |
java.lang.Object |
getValue()
|
boolean |
isDisableClientSideValidation()
Check if client side validation is disabled. |
boolean |
isDisableModifiedFlag()
The modified support is the mechanism in the Notes Client where if an input control contains a value and the user closes the XPage tab, they will be prompted like: The XPage has been modified, Save, Discard, Cancel? As part of that mechanism, each input control has a "disableModifiedFlag" property to allow that control to opt-out of the modified support, so for example if you have a search field, where you don't normally save the searched text to a document, you would exclude that search field from the modified support, so a value in that search field will not cause the Save/Discard dialog to appear. |
boolean |
isDisableValidators()
Check if the validators should be disabled for this control. |
boolean |
isRequired()
Similar to UIInputEx.isRequired() . |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setDefaultValue(java.lang.Object defaultValue)
Set the default value for this control.. |
void |
setDisableClientSideValidation(boolean disableClientSideValidation)
|
void |
setDisableModifiedFlag(boolean disableModifiedFlag)
|
void |
setDisableValidators(boolean disableValidators)
|
void |
setDojoAttributes(java.util.List<DojoAttribute> dojoAttributes)
Set the value of the dojoAttributes property. |
void |
setDojoType(java.lang.String dojoType)
Set the value of the dojoType property. |
void |
setRequired(boolean required)
|
void |
validate(javax.faces.context.FacesContext context)
|
protected void |
validateValue(javax.faces.context.FacesContext context,
java.lang.Object newValue)
|
Methods inherited from class javax.faces.component.UISelectOne |
---|
getFamily |
Methods inherited from class javax.faces.component.UIInput |
---|
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, setImmediate, setLocalValueSet, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, updateModel |
Methods inherited from class javax.faces.component.UIOutput |
---|
getConverter, getLocalValue, setConverter |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
_xspCleanTransientData, _xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, invokeOnComponent, isVisitable, markInitialState, setControlState, visitTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.ValueHolder |
---|
getConverter, getLocalValue, setConverter |
Constructor Detail |
---|
public UISelectOneEx()
Method Detail |
---|
public java.lang.String getStyleKitFamily()
ThemeControl
The implementation may return different values depending on the configuration of the current control, for example the Button control returns a different value and looks different when it is configured as a cancel button.
getStyleKitFamily
in interface ThemeControl
null
themeId corresponding to the
configuration for this type of control in a theme file.ThemeControl.getStyleKitFamily()
public boolean isDisableModifiedFlag()
FacesInputComponent
UIViewRootEx.isEnableModifiedFlag()
.
isDisableModifiedFlag
in interface FacesInputComponent
FacesInputComponent.isDisableModifiedFlag()
public void setDisableModifiedFlag(boolean disableModifiedFlag)
FacesInputComponent.isDisableModifiedFlag()
public boolean isDisableClientSideValidation()
FacesInputComponent
isDisableClientSideValidation
in interface FacesInputComponent
FacesInputComponent.isDisableClientSideValidation()
public void setDisableClientSideValidation(boolean disableClientSideValidation)
public boolean isDisableValidators()
FacesInputComponent
isDisableValidators
in interface FacesInputComponent
public void setDisableValidators(boolean disableValidators)
public void setDefaultValue(java.lang.Object defaultValue)
Set the default value for this control..
public java.lang.Object getDefaultValue()
UIInputEx.getDefaultValue()
except the default value
must be the value part of one of the label/value pairs allowed as the value
for this control.
Return the default value of this control.
public java.lang.String getDojoType()
Return the value of the dojoType
property. Contents:
Sets the default Dojo Type used to create this control in the browser.
getDojoType
in interface FacesDojoComponent
FacesDojoComponent.getDojoType()
public void setDojoType(java.lang.String dojoType)
Set the value of the dojoType
property.
FacesDojoComponent.getDojoType()
public java.util.List<DojoAttribute> getDojoAttributes()
Return the value of the dojoAttributes
property. Contents:
A list of Dojo attributes
getDojoAttributes
in interface FacesDojoComponent
FacesDojoComponent.getDojoAttributes()
public void addDojoAttribute(DojoAttribute attribute)
action
- FacesDojoComponent.getDojoAttributes()
public void setDojoAttributes(java.util.List<DojoAttribute> dojoAttributes)
Set the value of the dojoAttributes
property.
FacesDojoComponent.getDojoAttributes()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIInput
public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context) throws java.io.IOException
encodeEnd
in class javax.faces.component.UIComponentBase
java.io.IOException
public java.lang.Object getValue()
getValue
in interface javax.faces.component.ValueHolder
getValue
in class javax.faces.component.UIOutput
public void validate(javax.faces.context.FacesContext context)
validate
in class javax.faces.component.UIInput
protected void validateValue(javax.faces.context.FacesContext context, java.lang.Object newValue)
validateValue
in class javax.faces.component.UISelectOne
public void setRequired(boolean required)
setRequired
in interface javax.faces.component.EditableValueHolder
setRequired
in class javax.faces.component.UIInput
public boolean isRequired()
UIInputEx.isRequired()
.
isRequired
in interface javax.faces.component.EditableValueHolder
isRequired
in class javax.faces.component.UIInput
public java.lang.String getRequiredMessage()
UIInputEx.getRequiredMessage()
.
getRequiredMessage
in class javax.faces.component.UIInput
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |