You have to do this in the action method or write a custom validator. Someone did some
post some code in a blog recently about how to build a JSF validator to generically
compare two fields.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115201#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...