Re: override the default message!!
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 configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, "zh_cn,en"); ... -bob 2010/9/9 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. 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
Re: override the default message!!
Did you contribute to the ApplicationDefaults? public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.SUPPORTED_LOCALES, "zh_cn,en"); ... -bob 2010/9/9 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. > > 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 > >
override the default message!!
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. 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