Each field can have one or more “field-validator” nodes
Each fields validators are executed in the order they are defined
Each field validator has a “short-circuit” attribute; if this
is true and the validation fails, all further validations are
skipped and a failed result returned for the field
The message node can include a “key” attribute which
looks up the message to display to the user from a
message bundle; the value of the node is then used if no
message bundle key exists
Validator configuration information (such as min and
max) as well as values from the value stack can be used
in the validation message by placing the value between
the tokens “${“ and “}”
Validators can have a scope of either “field” or
“expression”; expression validators can work across
multiple fields
No comments:
Post a Comment