@Override
protected void onInitialize() {
super.onInitialize();
Form.findForm(this).add(new AbstractFormValidator() {
private static final long serialVersionUID = 1L;
@Override
public void validate(Form<?> form) {
if (/* ... */) {
form.error("price too small");
}
}
@Override
public FormComponent<?>[] getDependentFormComponents() {
return null;
}
});
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-validate-a-ListView-tp3088381p3090256.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]