Class UIRepeater

java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIRepeater

public class UIRepeater extends UIComponent
Created by The eXo Platform SARL * A grid element (represented by an HTML table) that can be paginated with a UIPageIterator
See Also:
  • Field Details

    • beanIdField_

      protected String beanIdField_
      The bean field that holds the id of this bean
    • beanField_

      protected String[] beanField_
      An array of String representing the fields in each bean
    • action_

      protected String[] action_
      An array of String representing the actions on each bean
    • label_

      protected String label_
    • source

      protected Iterator<List<?>> source
  • Constructor Details

    • UIRepeater

      public UIRepeater()
  • Method Details

    • configure

      public UIRepeater configure(String beanIdField, String[] beanField, String[] action)
    • getBeanIdField

      public String getBeanIdField()
    • getBeanFields

      public String[] getBeanFields()
    • getBeanActions

      public String[] getBeanActions()
    • getBeans

      public List<?> getBeans()
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • getFieldValue

      public Object getFieldValue(Object bean, String field) throws Exception
      Throws:
      Exception
    • feedNext

      public void feedNext()
    • hasNext

      public boolean hasNext()
    • setSource

      public void setSource(Iterator<List<?>> source)
    • getSource

      public Iterator<List<?>> getSource()