RE: Form component's validate parameter cause excpetions when clients use zh-cn language

2012-03-28 Thread Fight Ice
Thanks! just add two lines to the app.properties: minimum-string-length=\u60a8\u5fc5\u987b\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002 maximum-string-length=\u60a8\u6700\u591a\u80fd\u4e3a %2$s \u63d0\u4f9b\u81f3\u5c11 %1$d \u5b57\u7b26\u3002 All works correctly!

Re: Form component's validate parameter cause excpetions when clients use zh-cn language

2012-03-28 Thread Lance Java
https://issues.apache.org/jira/browse/TAP5-1865 On Wednesday, 28 March 2012, Fight Ice wrote: > > When the client web browser use the zh_cn locale to load my login page, i get a exception like this : > Render queue error in BeginRender[admin/Login:username]: d != java.lang.String > > but if clien

Re: Form component's validate parameter cause excpetions when clients use zh-cn language

2012-03-28 Thread Rural Hunter
check this: http://tapestry.1045711.n5.nabble.com/A-strange-error-with-MaxLength-Validator-td5546700.html 于 2012/3/28 21:01, Fight Ice 写道: > When the client web browser use the zh_cn locale to load my login page, i get > a exception like this : > Render queue error in BeginRender[admin/Login:user