thank you for your reply. yes,I did.
When I change
org.apache.tapestry5.corelib.components.Errors_zh_cn.properties
org.apache.tapestry5.internal.ValidationMessages_zh_cn.properties
to
org.apache.tapestry5.corelib.components.Errors.properties
org.apache.tapestry5.internal.ValidationMessages.properties
It is ok now. but I feel a little strange about this way.
On 2010-9-9 19:33, Borut Bolčina wrote:
Did you contribute to the ApplicationDefaults?
public static void contributeApplicationDefaults(MappedConfiguration<String,
String> configuration) {
configuration.add(SymbolConstants.SUPPORTED_LOCALES, "zh_cn,en");
...
-bob
2010/9/9 Fanzhen<fanzhen.m...@hotmail.com>
hey friends,
tapestry5 return me "You must correct the following errors before you may
continue.xxxxxx"
are there some methods to override it with my own custom message?
I have search it via Google . what I got is :
should to create two files in my project with the same package as Tapestry.
org.apache.tapestry5.corelib.components.Errors_zh_cn.properties
org.apache.tapestry5.internal.ValidationMessages_zh_cn.properties
but it seems it doesn't work well for me , and I thought it is not a good
method well.
this way make my project strange!!!!
so , any help are welcome!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org