Class SelectComponent

java.lang.Object
com.adobe.acs.commons.mcp.form.FieldComponent
com.adobe.acs.commons.mcp.form.SelectComponent
Direct Known Subclasses:
CollectionSelectComponent, GenericListSelectComponent, SelectComponent.EnumerationSelector, WorkflowModelSelector, WorkflowStatusSelector

public abstract class SelectComponent extends FieldComponent
Select (drop-down) selector component
  • Constructor Details

    • SelectComponent

      public SelectComponent()
  • Method Details

    • init

      public void init()
      Specified by:
      init in class FieldComponent
    • buildComponentResource

      public org.apache.sling.api.resource.Resource buildComponentResource()
      Description copied from class: FieldComponent
      If your component needs child nodes then override this method, call the superclass implementation, and then use addChildren to add additional nodes to it.
      Overrides:
      buildComponentResource in class FieldComponent
      Returns:
    • getOptions

      public abstract Map<String,String> getOptions()