Package org.exoplatform.webui.form.ext
Class UIFormComboBox
- All Implemented Interfaces:
UIFormInput<String>
Created by The eXo Platform SARL Author : Tuan Pham tuan.pham@exoplatform.com Dec 3, 2007
-
Nested Class Summary
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client onChange event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesstatic final StringThe javascript expression executed when an client event firesprotected intThe size of the list (number of select options)Fields inherited from class org.exoplatform.webui.form.UIFormInputBase
bindingField, defaultValue_, DISABLE, disabled, ENABLE, enable_, name, readonly_, typeValue_, validators, value_Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
ConstructorsConstructorDescriptionUIFormComboBox(String name, String value) UIFormComboBox(String name, String bindingExpression, String value) UIFormComboBox(String name, String bindingExpression, List<SelectItemOption<String>> options) UIFormComboBox(String name, String bindingExpression, List<SelectItemOption<String>> options, Map<String, String> jsActions) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddJsActions(String action, String javaScript) voiddecode(Object input, WebuiRequestContext context) voidprocessRender(WebuiRequestContext context) protected StringrenderOnChangeEvent(UIForm uiForm) voidsetJsActions(Map<String, String> jsActions) voidsetOnChange(String onchange) final UIFormComboBoxsetOptions(List<SelectItemOption<String>> options) Methods inherited from class org.exoplatform.webui.form.UIFormInputBase
addValidator, getBindingField, getDefaultValue, getHTMLAttribute, getLabel, getName, getTypeValue, getValidators, getValue, isDisabled, isEditable, isEnable, isMandatory, isReadOnly, isValid, processDecode, renderHTMLAttributes, reset, setBindingField, setDefaultValue, setDisabled, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly, setValueMethods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, 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
-
size_
protected int size_The size of the list (number of select options) -
ON_CHANGE
The javascript expression executed when an client onChange event fires -
ON_BLUR
The javascript expression executed when an client event fires -
ON_FOCUS
The javascript expression executed when an client event fires -
ON_KEYUP
The javascript expression executed when an client event fires -
ON_KEYDOWN
The javascript expression executed when an client event fires -
ON_CLICK
The javascript expression executed when an client event fires
-
-
Constructor Details
-
UIFormComboBox
-
UIFormComboBox
public UIFormComboBox(String name, String bindingExpression, List<SelectItemOption<String>> options) -
UIFormComboBox
-
UIFormComboBox
-
-
Method Details
-
setJsActions
-
getJsActions
-
addJsActions
-
setOptions
-
decode
- Specified by:
decodein classUIFormInputBase<String>
-
setOnChange
-
renderOnChangeEvent
- Throws:
Exception
-
getUIform
-
processRender
- Overrides:
processRenderin classUIComponent- Throws:
Exception
-