org.exoplatform.faq.webui
Class UIFormSelectBoxWithGroups
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
org.exoplatform.webui.form.UIFormStringInput
org.exoplatform.faq.webui.UIFormSelectBoxWithGroups
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<java.lang.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 |
| 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, ENABLE, enable_, name, readonly_, typeValue_, validators, value_ |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
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, getLabel, getName, getTypeValue, getValidators, getValue, isEditable, isEnable, isMandatory, isValid, processDecode, setBindingField, setDefaultValue, setEditable, setEnable, setLabel, setName |
| Methods inherited from class org.exoplatform.webui.core.UIContainer |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit |
| Methods inherited from class org.exoplatform.webui.core.UIComponent |
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIFormSelectBoxWithGroups
public UIFormSelectBoxWithGroups(java.lang.String name,
java.lang.String bindingExpression,
java.util.List<SelectItem> options)
setMultiple
public final UIFormSelectBoxWithGroups setMultiple(boolean bl)
setSize
public final UIFormSelectBoxWithGroups setSize(int i)
setValue
public UIFormSelectBoxWithGroups setValue(java.lang.String value)
- Specified by:
setValue in interface org.exoplatform.webui.form.UIFormInput<java.lang.String>- Overrides:
setValue in class org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
getSelectedValues
public java.lang.String[] getSelectedValues()
setSelectedValues
public UIFormSelectBoxWithGroups setSelectedValues(java.lang.String[] values)
getOptions
public final java.util.List<SelectItem> getOptions()
setOptions
public final UIFormSelectBoxWithGroups setOptions(java.util.List<SelectItem> options)
addOptionGroup
public UIFormSelectBoxWithGroups addOptionGroup(java.lang.String label,
java.util.List<SelectOption> options)
reset
public void reset()
- Specified by:
reset in interface org.exoplatform.webui.form.UIFormInput<java.lang.String>- Overrides:
reset in class org.exoplatform.webui.form.UIFormInputBase<java.lang.String>
setOnChange
public void setOnChange(java.lang.String onchange)
setDisabled
public UIFormSelectBoxWithGroups setDisabled(boolean disabled)
decode
public void decode(java.lang.Object input,
org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Overrides:
decode in class org.exoplatform.webui.form.UIFormStringInput
- Throws:
java.lang.Exception
renderOnChangeEvent
protected java.lang.String renderOnChangeEvent(org.exoplatform.webui.form.UIForm uiForm)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFrom
protected org.exoplatform.webui.form.UIForm getFrom()
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws java.lang.Exception
- Overrides:
processRender in class org.exoplatform.webui.form.UIFormStringInput
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.