webtier@glassfish.java.net

[JSF 2] JSR-303 class level validators

From: <webtier_at_javadesktop.org>
Date: Wed, 17 Mar 2010 15:01:05 PDT

I've got field level validation working with the reference implementation of JSR-303 (hibernate-validation-4.0.2.GA). I was able to validate a field with a
@Size(min=3, max=10)
annotation.

I implemented a class level validator as described in the answer posted by Nicko in this question
http://stackoverflow.com/questions/1972933/cross-field-validation-with-hibernate-validator-jsr-303

but the class level validator is never called. Can someone give me pointers on how to get this working?

Thanks,
Joel
[Message sent by forum member 'jweight']

http://forums.java.net/jive/thread.jspa?messageID=392439