Class StringResourceChoiceRenderer

java.lang.Object
com.evolveum.midpoint.web.util.StringResourceChoiceRenderer
All Implemented Interfaces:
Serializable, org.apache.wicket.markup.html.form.IChoiceRenderer<String>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

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

    • StringResourceChoiceRenderer

      public StringResourceChoiceRenderer(String keyPrefix)
  • Method Details

    • getDisplayValue

      public Object getDisplayValue(String object)
      Specified by:
      getDisplayValue 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>
    • 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>