Example usage for Java org.apache.wicket.markup.html.form IChoiceRenderer fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | getDisplayValue(T object) Get the value for displaying to an end user. |
String | getIdValue(T object, int index) This method is called to get the id value of an object (used as the value attribute of a choice element) The id can be extracted from the object like a primary key, or if the list is stable you could just return a toString of the index. |