June 2004
Intermediate to advanced
1568 pages
30h 33m
English
If the application developer provides an implementation of the Validator interface to perform the validation, you must register this custom validator in the application configuration resource file by using the validator XML element:
<validator>
...
<validator-id>FormatValidator</validator-id>
<validator-class>
validators.FormatValidator
</validator-class>
<attribute>
...
<attribute-name>formatPatterns</attribute-name>
<attribute-class>java.lang.String</attribute-class>
</attribute>
</validator>
The validator-id and validator-class elements are required subelements. The validator-id represents the identifier under which the Validator class should be registered. This ID is used by the tag class corresponding to ...
Read now
Unlock full access