This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Custom Message Property is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSF
Bookmark "Custom Message Property is not working" Watch "Custom Message Property is not working" New topic

Custom Message Property is not working

Yahya Arshad

Joined: May 15, 2011
Posts: 26
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


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
I agree. Here's the link:
subject: Custom Message Property is not working
It's not a secret anymore!