This content has been marked as final.
Show 5 replies
-
1. Re: unwanted validation messages
tazo Nov 19, 2006 8:28 PM (in response to nitm)These attributes were added in 1.2 version of API and they can be not implemented in myfaces.
-
2. Re: unwanted validation messages
nitm Nov 19, 2006 8:32 PM (in response to nitm)fair enough, but how can i change the message ?
is there no way to do so?
thanks -
3. Re: unwanted validation messages
rmemoria Nov 19, 2006 9:16 PM (in response to nitm)Hi,
I don't know if it was changed in JSF 1.2, but up to this version you have to create a text file called messages.properties.
This file stores messages used in your application, but may also be used to replace system messages. Each line is a message in the form key=message.
For example, the system menssage for required value is:javax.faces.component.UIInput.REQUIRED=A value is required
Good luck,
Ricardo -
4. Re: unwanted validation messages
gavin.king Nov 19, 2006 11:05 PM (in response to nitm)Right, you can set them in messages.properties. seam-gen creates a good starting point for this.
-
5. Re: unwanted validation messages
nitm Nov 20, 2006 4:59 AM (in response to nitm)i already have the messages.properties file, i just didnt know how to change the message from there...
thanks a lot!