| Author |
Problem with input Secret Field
|
safraz hanas
Greenhorn
Joined: Jun 12, 2004
Posts: 2
|
|
Hi, I have a form which is assigning user name & password for end users by an authorized person, I'm using <h:input Secret> for password Fied. The Problem is when The Authorized Person want to edit the record <h:input Secret> doesn't set the Previous Value. Can anyone Suggest a solution Thanks in Advance
|
 |
Kevin Galligan
Ranch Hand
Joined: Aug 10, 2005
Posts: 70
|
|
I don't think you'd want a password box to be sending itself to a client. Since you don't want to show the value anyway, let it be blank. Test the value on the server. If the admin types in a new password, set it on the user. If the value is blank, leave the current password as is. If you want to allow blank passwords, you'll need something different. I'd suggest an explicit "Password Reset" page. Actually, I'd suggest that regardless.
|
 |
safraz hanas
Greenhorn
Joined: Jun 12, 2004
Posts: 2
|
|
Thanx Kevin Galligan
|
 |
 |
|
|
subject: Problem with input Secret Field
|
|
|