wicket.markup.html.form.validation
Interface IFormValidator
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AbstractFormValidator, EqualInputValidator, EqualPasswordInputValidator
public interface IFormValidator
- extends java.io.Serializable
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.
- Author:
- Igor Vaynberg (ivaynberg)
getDependentFormComponents
FormComponent[] getDependentFormComponents()
- Returns:
- array of
FormComponent
s that this validator depends on
validate
void validate(Form form)
- This method is ran if all components returned by
getDependentFormComponents()
are valid.
- Parameters:
form
- form this validator is added to
Copyright © 2004-2007 Wicket developers. All Rights Reserved.