Class DisplayableChoiceRenderer<T extends Serializable>

  • All Implemented Interfaces:
    Serializable, org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable

    public class DisplayableChoiceRenderer<T extends Serializable>
    extends Object
    implements org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
    Created by Viliam Repan (lazyman).
    See Also:
    Serialized Form
    • Constructor Detail

      • DisplayableChoiceRenderer

        public DisplayableChoiceRenderer()
    • Method Detail

      • getDisplayValue

        public Object getDisplayValue​(DisplayableValue val)
        TODO This impl doesn't look good, label should take preference, that's why it's there for...
        Specified by:
        getDisplayValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>
      • getIdValue

        public String getIdValue​(DisplayableValue val,
                                 int index)
        Specified by:
        getIdValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>