Package org.exoplatform.webui.form
Class UIFormMultiValueInputSet
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputContainer<List>
org.exoplatform.webui.form.UIFormMultiValueInputSet
- All Implemented Interfaces:
UIFormInput<List>
Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Sep 14, 2006
Represents a multi value selector
Represents a multi value selector
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether this field is enabledprotected booleanWhether this field is in read only modeA list of validatorsFields inherited from class org.exoplatform.webui.form.UIFormInputContainer
bindingField, name, value_Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUIFormInput(int idx) Class<? extends UIFormInputBase> List<?> getValue()booleanbooleanisEnable()voidprocessDecode(WebuiRequestContext context) voidprocessRender(WebuiRequestContext context) voidsetConstructorParameterTypes(Class<?>... constructorParameterTypes) define aConstructorwhich's invokedvoidsetConstructorParameterValues(Object[] values) pass values to theConstructorYou only set constructor parameter values after seted constructor bysetConstructorParameterTypes(Class...)setEditable(boolean editable) setEnable(boolean enable) voidsetType(Class<? extends UIFormInputBase> clazz) Methods inherited from class org.exoplatform.webui.form.UIFormInputContainer
addValidator, getBindingField, getLabel, getName, getValidators, isEmpty, reset, setBindingField, setLabel, setName, setValueMethods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Field Details
-
validators
A list of validators -
enable_
protected boolean enable_Whether this field is enabled -
readonly_
protected boolean readonly_Whether this field is in read only mode
-
-
Constructor Details
-
UIFormMultiValueInputSet
public UIFormMultiValueInputSet() -
UIFormMultiValueInputSet
-
-
Method Details
-
getTypeValue
-
setType
- Parameters:
clazz-
-
setConstructorParameterTypes
public void setConstructorParameterTypes(Class<?>... constructorParameterTypes) throws SecurityException, NoSuchMethodException define aConstructorwhich's invoked- Parameters:
constructorParameterTypes- list of parameter type which is defined in constructor- Throws:
SecurityExceptionNoSuchMethodException
-
setConstructorParameterValues
pass values to theConstructorYou only set constructor parameter values after seted constructor bysetConstructorParameterTypes(Class...)- Parameters:
values-- Throws:
SecurityException
-
getUIFormInputBase
-
getValue
- Specified by:
getValuein interfaceUIFormInput<List>- Overrides:
getValuein classUIFormInputContainer<List>- Returns:
- the selected items in the selector
-
setValue
- Throws:
Exception
-
isEnable
public boolean isEnable() -
setEnable
-
isEditable
public boolean isEditable() -
setEditable
-
processDecode
- Overrides:
processDecodein classUIComponent- Throws:
Exception
-
processRender
- Overrides:
processRenderin classUIComponent- Throws:
Exception
-
createUIFormInput
- Throws:
Exception
-