org.exoplatform.forum.common.webui
Class UIFormMultiValueInputSet
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.form.UIFormInputContainer<List>
org.exoplatform.forum.common.webui.UIFormMultiValueInputSet
- All Implemented Interfaces:
- org.exoplatform.webui.form.UIFormInput<List>
public class UIFormMultiValueInputSet
- extends org.exoplatform.webui.form.UIFormInputContainer<List>
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
|
Field Summary |
protected boolean |
enable_
Whether this field is enabled |
protected org.exoplatform.services.log.Log |
log
|
protected boolean |
readonly_
Whether this field is in read only mode |
protected List<org.exoplatform.webui.form.validator.Validator> |
validators_
A list of validators |
| Fields 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 |
| Methods inherited from class org.exoplatform.webui.form.UIFormInputContainer |
getBindingField, getLabel, getName, getValidators, isEmpty, reset, setBindingField, setLabel, setName, 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 |
log
protected org.exoplatform.services.log.Log log
validators_
protected List<org.exoplatform.webui.form.validator.Validator> 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
UIFormMultiValueInputSet
public UIFormMultiValueInputSet()
throws Exception
- Throws:
Exception
UIFormMultiValueInputSet
public UIFormMultiValueInputSet(String name,
String bindingField)
throws Exception
- Throws:
Exception
getTypeValue
public Class<List> getTypeValue()
addValidator
public <E extends org.exoplatform.webui.form.validator.Validator> org.exoplatform.webui.form.UIFormInput addValidator(Class<E> clazz,
Object... params)
throws Exception
- Specified by:
addValidator in interface org.exoplatform.webui.form.UIFormInput<List>- Overrides:
addValidator in class org.exoplatform.webui.form.UIFormInputContainer<List>
- Throws:
Exception
setType
public void setType(Class<? extends org.exoplatform.webui.form.UIFormInput> clazz)
getUIFormInputBase
public Class<? extends org.exoplatform.webui.form.UIFormInput> getUIFormInputBase()
getValue
public List<?> getValue()
- Specified by:
getValue in interface org.exoplatform.webui.form.UIFormInput<List>- Overrides:
getValue in class org.exoplatform.webui.form.UIFormInputContainer<List>
- Returns:
- the selected items in the selector
setValue
public org.exoplatform.webui.form.UIFormInput setValue(List<?> values)
throws Exception
- Throws:
Exception
isEnable
public boolean isEnable()
setEnable
public UIFormMultiValueInputSet setEnable(boolean enable)
isEditable
public boolean isEditable()
setEditable
public UIFormMultiValueInputSet setEditable(boolean editable)
processDecode
public void processDecode(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
processDecode in class org.exoplatform.webui.core.UIComponent
- Throws:
Exception
processRender
public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
throws Exception
- Overrides:
processRender in class org.exoplatform.webui.core.UIComponent
- Throws:
Exception
createUIFormInput
public org.exoplatform.webui.form.UIFormInputBase createUIFormInput(int idx)
throws Exception
- Throws:
Exception
resetListIndexItemRemoved
public void resetListIndexItemRemoved()
getListIndexItemRemoved
public List<Integer> getListIndexItemRemoved()
setMaxOld
public void setMaxOld(int maxOld)
getMaxOld
public int getMaxOld()
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.