Hello everybody,

Using Wicket 1.2.5, I have a sign-up form with a password field like this:

PasswordTextField passwordField = new PasswordTextField("password");
passwordField.setRequired(true);
passwordField.add(StringValidator.lengthBetween(5, 32));

I observe a rather odd behavior:

1) enter 5 characters, submit. Other fields in the form have errors, so
the form is redisplayed.

2) delete a character, submit. Error is displayed, but the value of the
field is what I entered in step 1.

This is especially irritating if you do the form validation via Ajax
after onblur, so it would be nice if this could be changed somehow.

I already asked a similar question last April, but I'm not sure what the
final decision has been on this:

http://www.nabble.com/PasswordTextField.setResetPassword-tf1399513.html#a3764720

If desired, I could also post a JIRA on this.

thanks,

Rüdiger

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to