Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

validating password with confirm password

843842Feb 2 2007 — edited Feb 2 2007
I have two input secret fields viz password and confirm password. I want to validate whether the two passwords are equal. I am attaching a confirmPassword() method to the confirm password field. In the backing bean, I get a reference of confirm password as Object which I can use after casting. But I want a reference to password field as well to check the equality and since the model values are not applied before the validate phase I am unable to get the password value for checking. What should I do.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2007
Added on Feb 2 2007
4 comments
259 views