I have would like to edit an existing user's properties including the
password. However, all the other properties are appearing on their
corresponding fields except the password field. How do i make it appear?.
here is my component for editing users
public class UserPanel extends Panel {
You can't edit user password because you only store its hash. Don't you?
2010/1/27 Josh Kamau joshnet2...@gmail.com:
I have would like to edit an existing user's properties including the
password. However, all the other properties are appearing on their
corresponding fields except the
Not sure if that is actually the problem, but have you noticed
PasswordTextField#getResetPassword() ?
Its default value is 'true', meaning the value is cleared on every rendering.
cheers,
Jonas
On Wed, Jan 27, 2010 at 3:19 PM, Josh Kamau joshnet2...@gmail.com wrote:
I have would like to edit
Thanks alot.
The getResetPassword() did it.
I am doing a trivial application so i have not encrypted the password. May
be in a real application i will present a window for resetting password and
a separate window for editing the rest of the user details.
Regards.
On Wed, Jan 27, 2010 at 5:34