Haven't read all your code but if you want to compare two fields, how about:
@AssertTrue
public void passwordsEqual() {
return password.equals(comparePassword);
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094456#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...