This content has been marked as final.
Show 3 replies
-
1. Re: How to use Hibernate AssetTrue with beanValidator?
nbelaevski Mar 18, 2009 4:32 PM (in response to ij15nyc)Hello,
Bean validator validates single value. Please take a look at graph validator: http://livedemo.exadel.com/richfaces-demo/richfaces/graphValidator.jsf?c=graphValidator&tab=usage -
2. Re: How to use Hibernate AssetTrue with beanValidator?
ij15nyc Mar 19, 2009 5:57 PM (in response to ij15nyc)I tried to use graphValidator as you suggested, but the function annotated with @AssertTrue still doesn't get called.
Could the problem be in the fact that my backing bean is not an entity bean but a regular session bean? -
3. Re: How to use Hibernate AssetTrue with beanValidator?
nbelaevski Mar 19, 2009 6:53 PM (in response to ij15nyc)No, regular beans should work ok (see livedemo). How do you use the component? Please post page and bean code.