Class StringChoiceRenderer

java.lang.Object
com.evolveum.midpoint.web.component.input.StringChoiceRenderer
All Implemented Interfaces:
Serializable, org.apache.wicket.markup.html.form.IChoiceRenderer<String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
StringChoiceRenderer.Prefixed

public abstract class StringChoiceRenderer extends Object implements org.apache.wicket.markup.html.form.IChoiceRenderer<String>
See Also:
  • Constructor Details

    • StringChoiceRenderer

      public StringChoiceRenderer()
  • Method Details

    • simple

      public static StringChoiceRenderer simple()
    • prefixed

      public static StringChoiceRenderer prefixed(String keyPrefix)
    • prefixedSplit

      public static StringChoiceRenderer prefixedSplit(String keyPrefix, String splitPattern)
    • getObject

      public String getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends String>> choices)
      Specified by:
      getObject in interface org.apache.wicket.markup.html.form.IChoiceRenderer<String>
    • getIdValue

      public String getIdValue(String object, int index)
      Specified by:
      getIdValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<String>