Class ListLayoutManager

All Implemented Interfaces:
Serializable, Cloneable, Copyable, DictionaryBean, UifDictionaryBean, LayoutManager, LifecycleElement

public class ListLayoutManager extends LayoutManagerBase
List layout manager is a layout manager for group types to output their items as either ordered or unordered lists.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • ListLayoutManager

      public ListLayoutManager()
  • Method Details

    • performApplyModel

      public void performApplyModel(Object model, LifecycleElement component)
      Iterates through the groups items and sets the rendered in list boolean. Called after the initialize phase to perform conditional logic based on the model data

      Where components can perform conditional logic such as dynamically generating new fields or setting field state based on the given data

      Specified by:
      performApplyModel in interface LifecycleElement
      Overrides:
      performApplyModel in class LayoutManagerBase
      Parameters:
      model - - Top level object containing the data (could be the form or a top level business object, dto)
      component - parent lifecycle element
    • isOrderedList

      public boolean isOrderedList()
      If true, this list layout is an ordered list (ol). Otherwise, the the layout is an unordered list (ul).
      Returns:
      true if orderedList, false if unordered
    • setOrderedList

      public void setOrderedList(boolean orderedList)
      Setter for isOrderedList().
      Parameters:
      orderedList - property value