Dan,

This component does not display the previous value if there is one and hides the input. This is important as view source would otherwise reveal the passwords.

The only thing you need to be careful about is that it will update your password field in the bean to null when no new value was given by the user. You probably don't want passwords to be reset like that.

Kind regards,
Joachim

Dan Adams wrote:
To ask a dumb question: what's the use of the passwordfield component since it 
doesn't output a value? I have a 'edit user' page where you have password and 
'confirm password' fields. When you submit the form it resets the value to 
empty if you don't enter anything.

Dan Adams
Senior Software Engineer
Interactive Factory
p: 617.235.5857


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Joachim Van der Auwera
PROGS bvba, progs.be


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to