Class EqualPasswordInputValidator
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.markup.html.form.validation.AbstractFormValidator
-
- org.apache.wicket.markup.html.form.validation.EqualInputValidator
-
- org.apache.wicket.markup.html.form.validation.EqualPasswordInputValidator
-
- All Implemented Interfaces:
java.io.Serializable,IComponentAwareEventSink,IFormValidator,IComponentAwareHeaderContributor,org.apache.wicket.util.io.IClusterable
public class EqualPasswordInputValidator extends EqualInputValidator
Validates that the input of two form components is identical. Errors are reported on the second form component with key 'EqualPasswordInputValidator' and the variables:- ${input(n)}: the user's input
- ${name}: the name of the component
- ${label(n)}: the label of the component - either comes from FormComponent.labelModel or resource key [form-id].[form-component-id] in that order
- Author:
- Igor Vaynberg (ivaynberg)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EqualPasswordInputValidator(FormComponent<?> formComponent1, FormComponent<?> formComponent2)Construct.
-
Method Summary
-
Methods inherited from class org.apache.wicket.markup.html.form.validation.EqualInputValidator
getDependentFormComponents, validate
-
Methods inherited from class org.apache.wicket.markup.html.form.validation.AbstractFormValidator
bind, error, error, error, error, resourceKey, variablesMap
-
Methods inherited from class org.apache.wicket.behavior.Behavior
afterRender, beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onComponentTag, onConfigure, onEvent, onException, onRemove, onTag, renderHead, unbind
-
-
-
-
Constructor Detail
-
EqualPasswordInputValidator
public EqualPasswordInputValidator(FormComponent<?> formComponent1, FormComponent<?> formComponent2)
Construct.- Parameters:
formComponent1-formComponent2-
-
-