public abstract class CustomValidator extends Object implements org.apache.wicket.validation.IValidator<String>
Constructor and Description |
---|
CustomValidator() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleError(org.apache.wicket.validation.IValidatable<String> validatable,
String errMsgKey)
Handles the given error which occurred on the given component.
|
protected void |
handleError(org.apache.wicket.validation.IValidatable<String> validatable,
String errMsgKey,
String message)
Registers the given error message with the given component under the
given key.
|
abstract void |
validate(org.apache.wicket.validation.IValidatable<String> validatable)
Validates the given component.
|
public abstract void validate(org.apache.wicket.validation.IValidatable<String> validatable)
validate
in interface org.apache.wicket.validation.IValidator<String>
- protected void handleError(org.apache.wicket.validation.IValidatable<String> validatable, String errMsgKey)
validatable
- errMsgKey
- Copyright © 2013. All Rights Reserved.