In many cases validation depends not only from a value of a single control. It depends
from context. From other properties of the bean. And as I understand, JSF like validation
does not support this cases.
I tried to use Validator for a bean and ( @IfInvalid/@Valid ). I got the problem that was
described in the this topic. When I traced it. I discovered that validation was made
twice. First by Seam (it was correct. Seam put error message into FacesMessages). Second
by Hibernate. And Hibernate raised exception when validation fails.
Is there any way now to perform such validation?
Denis.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959047#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...