Class EqualInputValidator

  • All Implemented Interfaces:
    java.io.Serializable, IComponentAwareEventSink, IFormValidator, IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable
    Direct Known Subclasses:
    EqualPasswordInputValidator

    public class EqualInputValidator
    extends AbstractFormValidator
    Validates that the input of two form components is identical. Errors are reported on the second form component with key 'EqualInputValidator' 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