wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rüdiger Schulz (JIRA) <j...@apache.org>
Subject [jira] Created: (WICKET-322) Odd behvavior with PasswordTextField evaluation
Date Sat, 24 Feb 2007 10:13:05 GMT
Odd behvavior with PasswordTextField evaluation

                 Key: WICKET-322
                 URL: https://issues.apache.org/jira/browse/WICKET-322
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.2.5
         Environment: Jetty 6, JDK 1.5
            Reporter: Rüdiger Schulz

Given a sign-up form with a password field like this:

PasswordTextField passwordField = new PasswordTextField("password");
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.

3) result: submitting again just works, which shouldn't be the case with any form displaying
an error.

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.

See also here:


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message