webtier@glassfish.java.net

How to replace defualt Validation Messages in JSF 2

From: <webtier_at_javadesktop.org>
Date: Mon, 01 Feb 2010 06:34:55 PST

Hi guys
i am developing an app using JSF 2, glassfish v3 and netbeans 6.8 and i want to replace JSF default validation Messages , for this i have added two lines in Messages.properties

javax.faces.component.UIInput.REQUIRED:The value is required.
javax.faces.component.UIInput.CONVERSION: The value of this field cannot be converted.

this used to work in JSF1.2 but not working here
and i could not find the default Messages.properties file in the javaee-web-api-6.0.jar
in the glassfish
any suggestions
thanks
[Message sent by forum member 'duke_nuke' (khurram_noor_at_msn.com)]

http://forums.java.net/jive/thread.jspa?messageID=384046