Class ListUIBean

Direct Known Subclasses:
CheckboxList, DoubleListUIBean, InputTransferSelect, Radio, Select

public abstract class ListUIBean extends UIBean

DoubleListUIBean is the standard superclass of all Struts list handling components.

Note that the listkey and listvalue attribute will default to "key" and "value" respectively only when the list attribute is evaluated to a Map or its descendant. Everything else will result in listkey and listvalue to be null and not used.

  • Field Details

    • list

      protected Object list
    • listKey

      protected String listKey
    • listValueKey

      protected String listValueKey
    • listValue

      protected String listValue
    • listLabelKey

      protected String listLabelKey
    • listCssClass

      protected String listCssClass
    • listCssStyle

      protected String listCssStyle
    • listTitle

      protected String listTitle
    • throwExceptionOnNullValueAttribute

      protected boolean throwExceptionOnNullValueAttribute
  • Constructor Details

    • ListUIBean

      protected ListUIBean(ValueStack stack, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
  • Method Details

    • evaluateExtraParams

      public void evaluateExtraParams()
      Overrides:
      evaluateExtraParams in class UIBean
    • contains

      public boolean contains(Object obj1, Object obj2)
    • getValueClassType

      protected Class getValueClassType()
      Overrides:
      getValueClassType in class UIBean
    • setList

      public void setList(Object list)
    • setListKey

      public void setListKey(String listKey)
    • setListValueKey

      public void setListValueKey(String listValueKey)
    • setListValue

      public void setListValue(String listValue)
    • setListLabelKey

      public void setListLabelKey(String listLabelKey)
    • setListCssClass

      public void setListCssClass(String listCssClass)
    • setListCssStyle

      public void setListCssStyle(String listCssStyle)
    • setListTitle

      public void setListTitle(String listTitle)
    • setThrowExceptionOnNullValueAttribute

      public void setThrowExceptionOnNullValueAttribute(boolean throwExceptionOnNullValueAttribute)