Package org.apache.wicket.validation
Interface INullAcceptingValidator<T>
-
- Type Parameters:
T
- type of validatable
- All Superinterfaces:
IClusterable
,IValidator<T>
,Serializable
- All Known Implementing Classes:
PropertyValidator
public interface INullAcceptingValidator<T> extends IValidator<T>
Marker interface for validators that will accept anull
value. Without implementing this interface Wicket will never passnull
values toIValidator.validate(IValidatable)
.Keep in mind that the
FormComponent
must have set the required property tofalse
, otherwise Wicket will not permit the validator to process thenull
value.- Since:
- 1.2.6
- Author:
- Matej Knopp
- See Also:
IValidator
,FormComponent.setRequired(boolean)
-
-
Method Summary
-
Methods inherited from interface org.apache.wicket.validation.IValidator
validate
-
-