org.exoplatform.calendar.webui
Class UIFormComboBox
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<String>
org.exoplatform.calendar.webui.UIFormComboBox
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<String>
public class UIFormComboBox
- extends org.exoplatform.webui.form.UIFormInputBase<String>
Created by The eXo Platform SARL
Author : Tuan Pham
tuan.pham@exoplatform.com
Dec 3, 2007
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
|
Field Summary |
static String |
ON_BLUR
The javascript expression executed when an client event fires |
static String |
ON_CHANGE
The javascript expression executed when an client onChange event fires |
static String |
ON_CLICK
The javascript expression executed when an client event fires |
static String |
ON_FOCUS
The javascript expression executed when an client event fires |
static String |
ON_KEYDOWN
The javascript expression executed when an client event fires |
static String |
ON_KEYUP
The javascript expression executed when an client event fires |
protected int |
size_
The 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 |
| 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, setValue |
| Methods 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, setRenderedChildrenOfTypes |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
size_
protected int size_
- The size of the list (number of select options)
ON_CHANGE
public static final String ON_CHANGE
- The javascript expression executed when an client onChange event fires
ON_BLUR
public static final String ON_BLUR
- The javascript expression executed when an client event fires
ON_FOCUS
public static final String ON_FOCUS
- The javascript expression executed when an client event fires
ON_KEYUP
public static final String ON_KEYUP
- The javascript expression executed when an client event fires
ON_KEYDOWN
public static final String ON_KEYDOWN
- The javascript expression executed when an client event fires
ON_CLICK
public static final String ON_CLICK
- The javascript expression executed when an client event fires
UIFormComboBox
public UIFormComboBox(String name,
String bindingExpression,
String value)
UIFormComboBox
public UIFormComboBox(String name,
String bindingExpression,
List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
UIFormComboBox
public UIFormComboBox(String name,
String bindingExpression,
List<org.exoplatform.webui.core.model.SelectItemOption<String>> options,
Map<String,String> jsActions)
UIFormComboBox
public UIFormComboBox(String name,
String value)
setJsActions
public void setJsActions(Map<String,String> jsActions)
getJsActions
public Map<String,String> getJsActions()
addJsActions
public void addJsActions(String action,
String javaScript)
setOptions
public final UIFormComboBox setOptions(List<org.exoplatform.webui.core.model.SelectItemOption<String>> options)
decode
public void decode(Object input,
org.exoplatform.webui.application.WebuiRequestContext context)
- Specified by:
decode in class org.exoplatform.webui.form.UIFormInputBase<String>
setOnChange
public void setOnChange(String onchange)
renderOnChangeEvent
protected String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
throws Exception
- Throws:
Exception
getUIform
public org.exoplatform.webui.form.UIForm getUIform()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
- Throws:
Exception
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.