Interface INullAcceptingValidator<T>

Type Parameters:
T - type of validatable
All Superinterfaces:
IClusterable, IValidator<T>, Serializable

public interface INullAcceptingValidator<T> extends IValidator<T>
Marker interface for validators that will accept a null value. Without implementing this interface Wicket will never pass null values to IValidator.validate(IValidatable).

Keep in mind that the FormComponent must have set the required property to false, otherwise Wicket will not permit the validator to process the null value.

Since:
1.2.6
Author:
Matej Knopp
See Also:
  • Method Summary

    Methods inherited from interface org.apache.wicket.validation.IValidator

    validate