Class ObjectReferenceChoiceRenderer
- java.lang.Object
-
- com.evolveum.midpoint.web.component.input.ObjectReferenceChoiceRenderer
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.markup.html.form.IChoiceRenderer<ObjectReferenceType>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class ObjectReferenceChoiceRenderer extends Object implements org.apache.wicket.markup.html.form.IChoiceRenderer<ObjectReferenceType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectReferenceChoiceRenderer(Map<String,String> referenceMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDisplayValue(ObjectReferenceType object)
String
getIdValue(ObjectReferenceType object, int index)
ObjectReferenceType
getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends ObjectReferenceType>> choices)
-
-
-
Method Detail
-
getObject
public ObjectReferenceType getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends ObjectReferenceType>> choices)
- Specified by:
getObject
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<ObjectReferenceType>
-
getDisplayValue
public Object getDisplayValue(ObjectReferenceType object)
- Specified by:
getDisplayValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<ObjectReferenceType>
-
getIdValue
public String getIdValue(ObjectReferenceType object, int index)
- Specified by:
getIdValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<ObjectReferenceType>
-
-