|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.markup.html.form.validation.AbstractFormValidator
org.apache.wicket.markup.html.form.validation.EqualInputValidator
public class EqualInputValidator
Validates that the input of two form components is identical. Errors are reported on the second form component with key 'EqualInputValidator' and the variables:
| Constructor Summary | |
|---|---|
EqualInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
Construct. |
|
| Method Summary | |
|---|---|
FormComponent<?>[] |
getDependentFormComponents()
|
void |
validate(Form<?> form)
This method is ran if all components returned by IFormValidator.getDependentFormComponents() are valid. |
| Methods inherited from class org.apache.wicket.markup.html.form.validation.AbstractFormValidator |
|---|
error, error, error, error, messageModel, resourceKey, variablesMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EqualInputValidator(FormComponent<?> formComponent1,
FormComponent<?> formComponent2)
formComponent1 - a form componentformComponent2 - a form component| Method Detail |
|---|
public FormComponent<?>[] getDependentFormComponents()
FormComponents that this validator depends onIFormValidator.getDependentFormComponents()public void validate(Form<?> form)
IFormValidatorIFormValidator.getDependentFormComponents() are valid.
form - form this validator is added toIFormValidator.validate(org.apache.wicket.markup.html.form.Form)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||