Class QNameChoiceRenderer

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

@Deprecated public class QNameChoiceRenderer extends Object implements org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
Deprecated.
This renderer shouldn't be used unless absolutely necessary. Think twice whether you need QName in your dropdown, because it's hard to translate QName values.

Most of the time ObjectTypes and such should be used.

See Also:
  • Constructor Details

    • QNameChoiceRenderer

      public QNameChoiceRenderer()
      Deprecated.
    • QNameChoiceRenderer

      public QNameChoiceRenderer(boolean usePrefix)
      Deprecated.
  • Method Details

    • getObject

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

      public Object getDisplayValue(QName object)
      Deprecated.
      Specified by:
      getDisplayValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
    • getIdValue

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