Package com.evolveum.midpoint.web.util
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringResourceChoiceRenderer(String keyPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDisplayValue(String object)
String
getIdValue(String object, int index)
String
getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends String>> choices)
-
-
-
Constructor Detail
-
StringResourceChoiceRenderer
public StringResourceChoiceRenderer(String keyPrefix)
-
-
Method Detail
-
getDisplayValue
public Object getDisplayValue(String object)
- Specified by:
getDisplayValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<String>
-
getIdValue
public String getIdValue(String object, int index)
- Specified by:
getIdValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<String>
-
-