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:username]: d != java.lang.String > > but if client use the en locale, it works correctly. > if i want to use zh_cn locale to load my login page, i found that if i use > minlength validator and other similar validators, i'll get exceptions. > > Login.java(partial) > > @Persist > @Property > private String userName; > > @Property > private String password; > > Login.tml(partial) > > <t:form t:id="loginForm"> > <t:errors/> > <t:label for="userName"/> > <t:TextField t:id="userName" t:validate="required, minlength=6" > size="30"/> > <br/> > <t:label for="password"/> > <t:PasswordField t:id="password" t:validate="required, minlength=6" > size="30"/> > <br/> > <input type="submit" value="Login"/> > </t:form> > > If i just use required validator, it works. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org