public interface FormValidationControl
Modifier and Type | Method and Description |
---|---|
void |
clearErrors()
Invokes
ValidationTracker.clear() . |
boolean |
getHasErrors()
Returns true if the form's
ValidationTracker contains any errors . |
boolean |
isValid()
Returns true if the form's
ValidationTracker does not contain any errors . |
void |
recordError(Field field,
String errorMessage)
A convenience method for invoking
ValidationTracker.recordError(Field, String) . |
void |
recordError(String errorMessage)
A convenience method for invoking
ValidationTracker.recordError(String) . |
void recordError(String errorMessage)
ValidationTracker.recordError(String)
.void recordError(Field field, String errorMessage)
ValidationTracker.recordError(Field, String)
.boolean getHasErrors()
ValidationTracker
contains any errors
.boolean isValid()
ValidationTracker
does not contain any errors
.void clearErrors()
ValidationTracker.clear()
.5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.