|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.behavior.Behavior org.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, resourceKey, variablesMap |
Methods inherited from class org.apache.wicket.behavior.Behavior |
---|
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, renderHead, unbind |
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 componentMethod Detail |
---|
public FormComponent<?>[] getDependentFormComponents()
FormComponent
s that this validator depends onIFormValidator.getDependentFormComponents()
public void validate(Form<?> form)
IFormValidator
IFormValidator.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 |