org.exoplatform.answer.webui
Class UIFormSelectBoxWithGroups
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<String>
org.exoplatform.webui.form.UIFormStringInput
org.exoplatform.answer.webui.UIFormSelectBoxWithGroups
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<String>
public class UIFormSelectBoxWithGroups
- extends org.exoplatform.webui.form.UIFormStringInput
Represents a select element
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
|
Field Summary |
static org.exoplatform.services.log.Log |
log
|
| Fields inherited from class org.exoplatform.webui.form.UIFormStringInput |
PASSWORD_TYPE, TEXT_TYPE |
| 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.UIFormStringInput |
getMaxLength, setMaxLength, setType |
| 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, setBindingField, setDefaultValue, setEditable, setEnable, setHTMLAttribute, setLabel, setName, setReadOnly |
| 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 |
log
public static org.exoplatform.services.log.Log log
UIFormSelectBoxWithGroups
public UIFormSelectBoxWithGroups(String name,
String bindingExpression,
List<SelectItem> options)
setMultiple
public final UIFormSelectBoxWithGroups setMultiple(boolean bl)
setSize
public final UIFormSelectBoxWithGroups setSize(int i)
setValue
public UIFormSelectBoxWithGroups setValue(String value)
- Specified by:
setValue in interface org.exoplatform.webui.form.UIFormInput<String>- Overrides:
setValue in class org.exoplatform.webui.form.UIFormInputBase<String>
getSelectedValues
public String[] getSelectedValues()
setSelectedValues
public UIFormSelectBoxWithGroups setSelectedValues(String[] values)
getOptions
public final List<SelectItem> getOptions()
setOptions
public final UIFormSelectBoxWithGroups setOptions(List<SelectItem> options)
addOptionGroup
public UIFormSelectBoxWithGroups addOptionGroup(String label,
List<SelectOption> options)
reset
public void reset()
- Specified by:
reset in interface org.exoplatform.webui.form.UIFormInput<String>- Overrides:
reset in class org.exoplatform.webui.form.UIFormInputBase<String>
setOnChange
public void setOnChange(String onchange)
setDisabled
public UIFormSelectBoxWithGroups setDisabled(boolean disabled)
- Overrides:
setDisabled in class org.exoplatform.webui.form.UIFormInputBase<String>
decode
public void decode(Object input,
org.exoplatform.webui.application.WebuiRequestContext context)
- Overrides:
decode in class org.exoplatform.webui.form.UIFormStringInput
renderOnChangeEvent
protected String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
throws Exception
- Throws:
Exception
getFrom
protected org.exoplatform.webui.form.UIForm getFrom()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.form.UIFormStringInput
- Throws:
Exception
Copyright © 2013 eXo Platform SAS. All Rights Reserved.