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.apache.tapestry.corelib.components and put a Errors.properties file in there. Again, in src/main/resources/org/apache/tapestry/corelib/components if you're using Maven.

You can find the default versions of these files at the same locations in the Tapestry 5 source.

Hope this helps.

-Filip

Penyihir Kecil skrev:
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 ?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to