|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface for a class that implements a validation check on a set of form data.
Field Summary | |
static String |
versionId
|
Method Summary | |
void |
validate(FormSectionEvent e)
Performs a validation check on the specified FormData object, involving any number of parameters. |
Field Detail |
public static final String versionId
Method Detail |
public void validate(FormSectionEvent e) throws FormProcessException
The check is always performed after all HTTP request parameters have been converted to data objects and stored in the FormData object.
If a validation error is encountered, the setError method of the FormData object may be used to set an error message for reporting back to the user.
This method is responsible for catching any exceptions that
may occur during the validation. These exceptions may either
be handled internally, or if they are unrecoverable may be
rethrown as instances of FormProcessException
.
FormProcessException
- If the data does not pass the
check.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |