override the default message!!

2010-09-09 Thread Fanzhen
hey friends, tapestry5 return me You must correct the following errors before you may continue.xx 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.

Re: override the default message!!

2010-09-09 Thread Borut BolĨina
Did you contribute to the ApplicationDefaults? public static void contributeApplicationDefaults(MappedConfigurationString, String configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, zh_cn,en); ... -bob 2010/9/9 Fanzhen fanzhen.m...@hotmail.com hey friends,

Re: override the default message!!

2010-09-09 Thread Fanzhen
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