Password field to textField and back
Hi! In my website I have an textField for email and a password field for the password. The problem is that I need to print Email here , Password here in the field so that the user can type in the fields. There are no room for labels. I need some way of changing the password field to textfield and onfocus to password. Is this possible in wicket? Anyone done this before? Problem as I see it is that IE don't support this.type = newType. It needs to be replaced. Any pointers? -- View this message in context: http://www.nabble.com/Password-field-to-textField-and-back-tp17367668p17367668.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Password field to textField and back
Just an off-the-cuff guess, but have you tried adding both a textfield and a password field, and then when the textfield (with the hint) is in focus, hiding that and showing / focusing on the password field? -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 21, 2008 at 1:46 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! In my website I have an textField for email and a password field for the password. The problem is that I need to print Email here , Password here in the field so that the user can type in the fields. There are no room for labels. I need some way of changing the password field to textfield and onfocus to password. Is this possible in wicket? Anyone done this before? Problem as I see it is that IE don't support this.type = newType. It needs to be replaced. Any pointers? -- View this message in context: http://www.nabble.com/Password-field-to-textField-and-back-tp17367668p17367668.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Password field to textField and back
If I read a password field asking me to type my password, where plain text already exists, I would have 2nd thoughts on entering it. On Wed, May 21, 2008 at 3:00 PM, Jeremy Thomerson [EMAIL PROTECTED] wrote: Just an off-the-cuff guess, but have you tried adding both a textfield and a password field, and then when the textfield (with the hint) is in focus, hiding that and showing / focusing on the password field? -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 21, 2008 at 1:46 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! In my website I have an textField for email and a password field for the password. The problem is that I need to print Email here , Password here in the field so that the user can type in the fields. There are no room for labels. I need some way of changing the password field to textfield and onfocus to password. Is this possible in wicket? Anyone done this before? Problem as I see it is that IE don't support this.type = newType. It needs to be replaced. Any pointers? -- View this message in context: http://www.nabble.com/Password-field-to-textField-and-back-tp17367668p17367668.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ryan Gravener http://twitter.com/ryangravener
Re: Password field to textField and back
Yes, your right. Unfortunatelly I don't have any saying in this because the designer has made it this way and he's word is final :( -- View this message in context: http://www.nabble.com/Password-field-to-textField-and-back-tp17367668p17378259.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Password field to textField and back
I solved this using only javascript for now. Would have been nice to have this in wicket but as you have already stated. How would want that? -- View this message in context: http://www.nabble.com/Password-field-to-textField-and-back-tp17367668p17382822.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]