You need to do that type of validation in an action method or a JSF validator View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102717#4102717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102717