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 Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer

    org.exoplatform.webui.core.UIContainer.SelectTabActionListener
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    Whether this field is enabled
    protected org.exoplatform.services.log.Log
     
    protected boolean
    Whether this field is in read only mode
    protected List<org.exoplatform.webui.form.validator.Validator>
    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, USE_WEBUI_RESOURCES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    UIFormMultiValueInputSet(String name, String bindingField)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <E extends org.exoplatform.webui.form.validator.Validator>
    org.exoplatform.webui.form.UIFormInput
    addValidator(Class<E> clazz, Object... params)
     
    org.exoplatform.webui.form.UIFormInputBase
     
     
    int
     
     
    Class<? extends org.exoplatform.webui.form.UIFormInput>
     
    List<?>
     
    boolean
     
    boolean
     
    void
    processDecode(org.exoplatform.webui.application.WebuiRequestContext context)
     
    void
    processRender(org.exoplatform.webui.application.WebuiRequestContext context)
     
    void
     
    setEditable(boolean editable)
     
    setEnable(boolean enable)
     
    void
    setMaxOld(int maxOld)
     
    void
    setType(Class<? extends org.exoplatform.webui.form.UIFormInput> clazz)
     
    org.exoplatform.webui.form.UIFormInput
    setValue(List<?> values)
     

    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, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • 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
  • Constructor Details

  • Method Details

    • 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()