Class SelectorComponent

  • All Implemented Interfaces:
    Component

    public class SelectorComponent
    extends BaseTemplateComponent
    Generates the javascript for a selector using parameters passed in as part of the request. This class has convenience methods to facilitate the template.
    Author:
    mtaal
    • Constructor Detail

      • SelectorComponent

        public SelectorComponent()
    • Method Detail

      • getAdditionalProperties

        public static String getAdditionalProperties​(Selector selector,
                                                     boolean onlyDisplayField)
      • isSelectorItem

        public boolean isSelectorItem()
      • getDefaultPopupFilterField

        public String getDefaultPopupFilterField()
        Computes the field in the popup which can receive the value entered by the user in the suggestion box, to set the first default filter.
        Returns:
        the field in the popup to set.
      • getSelector

        public Selector getSelector()
      • getColumnName

        public String getColumnName()
      • getComboReload

        public String getComboReload()
      • getDisabled

        public String getDisabled()
      • getTargetPropertyName

        public String getTargetPropertyName()
      • getValueField

        public String getValueField()
      • getDisplayField

        public String getDisplayField()
      • getProcessDefinition

        public String getProcessDefinition()
      • getRequired

        public String getRequired()
      • getCallOut

        public String getCallOut()
      • getShowSelectorGrid

        public String getShowSelectorGrid()
        Returns:
        true if there is at least one active field shown in grid
      • getTitle

        public String getTitle()
      • getDataSourceJavascript

        public String getDataSourceJavascript()
      • getNumCols

        public String getNumCols()
      • getExtraSearchFields

        public String getExtraSearchFields()
      • getOutHiddenInputPrefix

        public String getOutHiddenInputPrefix()