posted 12 years ago
i have made a custom property file with name customMessages
and placed it in the package com.atwork
i also registered it in faces-config as
<application>
<message-bundle>com.atwork.customMessages</message-bundle>
</application>
and .properties file contains
javax.faces.component.UIInput.REQUIRED=This field is required.
javax.faces.component.UIInput.REQUIRED_detail= Please fill in this field.
javax.faces.validator.LengthValidator.MAXIMUM= This field must be at least {0} characters long.
but it my page still displaying native errors of input field