i have the following in my messages.properties file:
javax.faces.component.UIInput.REQUIRED=Please enter a value for {0}
javax.faces.validator.LengthValidator.MINIMUM = At least {0} characters are required for {1}
javax.faces.validator.LengthValidator.MAXIMUM = At most {0} characters are required for {1}
when error occurs, i got these outputs:
At most 8 characters are required for pwd At most 8 characters are required for pwd
At least 6 characters are required for pwd At least 6 characters are required for pwd
as it shows, it repeats, how can I change the msg that just appear once?
No comments:
Post a Comment