|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFormValidator
Interface that represents validators that check multiple components. These validators are added
to the form and only executed if all form components returned by
getDependentFormComponents()
have been successfully validated before this
validator runs.
AbstractFormValidator
,
IValidator
Method Summary | |
---|---|
FormComponent<?>[] |
getDependentFormComponents()
|
void |
validate(Form<?> form)
This method is ran if all components returned by getDependentFormComponents() are valid. |
Method Detail |
---|
FormComponent<?>[] getDependentFormComponents()
FormComponent
s that this validator depends onvoid validate(Form<?> form)
getDependentFormComponents()
are valid.
To report validation error use
FormComponent.error(org.apache.wicket.validation.IValidationError)
by using any of
the dependent form components or extend from AbstractFormValidator and use its
AbstractFormValidator.error(FormComponent, String, java.util.Map)
method.
form
- form this validator is added to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |