Re: [T5] Change validation message key

2008-10-09 Thread Tobias Wehrum
Hi Julien, may I ask where the problem was and how you solved it? - Tobias Julien schrieb: Hi, Thanks for your reply, and sorry for my bad english (i'm french) ;) Using the app.properties file isn't really a good solution for me, since I replaced the default MessagesSource to used a databas

Re: [T5] Change validation message key

2008-06-18 Thread Julien
Hi, Thanks for your reply, and sorry for my bad english (i'm french) ;) Using the app.properties file isn't really a good solution for me, since I replaced the default MessagesSource to used a database instead of propertie file. By the way, it helped me to find where was my mistake :) Thanks

Re: [T5] Change validation message key

2008-06-18 Thread Filip S. Adamsen
Hi, You can stick the message in app.properties and it will be used whenever a message isn't found in the component's messages. -Filip Julien skrev: Hi, I've created a custom validator, and i'd like to customize the message key, to create generic validation messages. For example, if I use

[T5] Change validation message key

2008-06-18 Thread Julien
Hi, I've created a custom validator, and i'd like to customize the message key, to create generic validation messages. For example, if I use my "email" validator, tapestry will look for "-email-message" key, so I have to copy my message text in every page... arrg The Javadoc of AbstractValid