Java Reference
In-Depth Information
Because of the
f:validateLength
tag, if the user name has fewer than 4 char-
acters or more than 10 characters, a validation error message appears.
Because of the
f:validateRegex
tag, if the password has fewer than 4 charac-
ters or more than 10 characters or does not contain at least one digit, one lowercase
letter, and one uppercase letter, a “Regex Pattern not matched” error message ap-
pears.