Re: T5: how to override default msg error

2007-12-09 Thread Filip S. Adamsen
Not if you want to override the *default* error messages. If you just want to override the error messages in a given component, then put a entry in your component's .properties file with the key fieldid-validatoin-message, that is, username-maxlength-message etc. I don't know if this works fo

Re: T5: how to override default msg error

2007-12-08 Thread Penyihir Kecil
it works thnx Filip... but is there any way to do it more simple ^_^ (just curious) On Dec 9, 2007 1:21 AM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Create a package named org.apache.tapestry.internal and put a > ValidationMessages.properties file there. If you're using Maven you'll

Re: T5: how to override default msg error

2007-12-08 Thread Filip S. Adamsen
Create a package named org.apache.tapestry.internal and put a ValidationMessages.properties file there. If you're using Maven you'll have to put this in src/main/resources/org/apache/tapestry/internal. If you want to override the error banner while you're at it, create a package name org.apach

T5: how to override default msg error

2007-12-08 Thread Penyihir Kecil
i have a textfield that must be int value (based on my entity bean type). tapestry does the validate automatically and give the message : - The input value 'abc' is not parseable as an integer value. how can i overwrite the default error message ? -