public final class VFilled extends FieldValidator
Constructor and Description |
---|
VFilled(Field field,
String errorMessage)
Creates a new validator that fails validation if the fields
is not filled out by the user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validate(FormData fd,
javax.servlet.http.HttpServletRequest req)
Validates a field's value to be isFilled.
|
getErrorMessage, getField
public boolean validate(FormData fd, javax.servlet.http.HttpServletRequest req)
validate
in class FieldValidator