Interface WidgetSelectOption

    • Method Detail

      • getValue

        Serializable getValue()
        Returns the value representing the option.

        This value is optional when using static label and values, it can be useful to use it in conjunction with the getVar() method to retrieve the id and label from the object.

      • getItemLabel

        String getItemLabel()
        Returns the item label for the select option.

        This can be an EL expression if getValue() and getVar() return a non-null value.

      • getItemLabel

        String getItemLabel​(String locale)
        Getter to handle l10n localization of select options.
        Since:
        6.0
      • getItemLabels

        Map<String,​String> getItemLabels()
        Getter to handle l10n localization of select options.
        Since:
        6.0
      • getItemValue

        String getItemValue()
        Returns the item value for the select option.

        This can be an EL expression if getValue() and getVar() return a non-null value.

      • getItemDisabled

        Serializable getItemDisabled()
        Returns the disabled behaviour for the select option.

        This value can either be an EL expression that should resolve to a boolean value, either a string representing a boolean ("true" or "false") either a Boolean value.

      • getItemRendered

        Serializable getItemRendered()
        Returns the rendered behaviour for the select option.

        This value can either be an EL expression that should resolve to a boolean value, either a string representing a boolean ("true" or "false") either a Boolean value.

      • getTagConfigId

        String getTagConfigId()
        Returns the unique identifier of this select option to be used in tag configuration.
        See Also:
        Layout.getTagConfigId()