T - the model object typepublic class ChoiceRenderer<T>
extends com.googlecode.wicket.jquery.core.renderer.TextRenderer<T>
implements com.googlecode.wicket.jquery.core.renderer.IChoiceRenderer<T>
IChoiceRenderer.| Constructor and Description |
|---|
ChoiceRenderer()
Constructor
|
ChoiceRenderer(String textExpression)
Constructor
|
ChoiceRenderer(String textExpression,
String valueExpression)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFields() |
String |
getValue(T object) |
String |
getValueField() |
String |
render(T object) |
getExpression, getText, getText, getTextField, matchpublic ChoiceRenderer()
public ChoiceRenderer(String textExpression)
textExpression - the property expression that will be resolved for the bean supplied to TextRenderer.getText(Object)public ChoiceRenderer(String textExpression, String valueExpression)
textExpression - the property expression that will be resolved for the bean supplied to TextRenderer.getText(Object)valueExpression - the property expression that will be resolved for the bean supplied to getValue(Object)public String getValueField()
getValueField in interface com.googlecode.wicket.jquery.core.renderer.IChoiceRenderer<T>public String getValue(T object)
getValue in interface com.googlecode.wicket.jquery.core.renderer.IChoiceRenderer<T>Copyright © 2021 7thWeb. All rights reserved.