validating password with confirm password
843842Feb 2 2007 — edited Feb 2 2007I 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.