Re: [Wicket-user] PasswordTextField.setResetPassword
Johan Compagner schrieb: please make a jira issue Here it is: https://issues.apache.org/jira/browse/WICKET-322 hmm, thought I selected minor priority, but oh well. greetings, 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] PasswordTextField.setResetPassword
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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] PasswordTextField.setResetPassword
please make a jira issue On 2/24/07, Rüdiger Schulz [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] PasswordTextField.setResetPassword
Hello list, I have a form with a PasswordTextField. If one of the validators of the other fields creates an error, the content of the password field is cleared, as oppossed to all the other fields, which keep their entered values. resetPassword is set to false, but the only effect from this is, that the password is kept *only* if the form was submitted without an error from a validator. Is there a way around this? I'd like the password field to keep its value even if the form has errors elsewhere... I'm using Wicket 1.1.1, and already found a similar thread in the list archive from last November, but there was no help there either :( thanks, -- greetings from Berlin, Rüdiger Schulz --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] PasswordTextField.setResetPassword
will see if i can fix that it is this piece of code:tag.put(value, getResetPassword() ? : getModelObjectAsString());The problem is that it should betag.put(value, getResetPassword() ? : getValue()); But don't know yet if i can do that for the password field.johanOn 4/5/06, Rüdiger Schulz [EMAIL PROTECTED] wrote:Hello list,I have a form with a PasswordTextField. If one of the validators of the other fields creates an error, the content of the password fieldis cleared, as oppossed to all the other fields, which keep theirentered values. resetPassword is set to false, but the only effectfrom this is, that the password is kept *only* if the form was submitted without an error from a validator.Is there a way around this? I'd like the password field to keep itsvalue even if the form has errors elsewhere...I'm using Wicket 1.1.1, and already found a similar thread in the list archive from last November, but there was no help there either :(thanks,--greetings from Berlin,Rüdiger Schulz---This SF.Net email is sponsored by xPML, a groundbreaking scripting languagethat extends applications into web and mobile media. Attend the live webcastand join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnkkid0944bid$1720dat1642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user