I am using TomEE SNAPSHOT from trunk. No error message. The ConstraintValidator not created by CODI ,so not @Inject. It still created by default validator factory.
On Fri, Sep 14, 2012 at 10:58 PM, Romain Manni-Bucau <[email protected]> wrote: > you don't have any error? > > did you try tomee snapshot? > > *Romain Manni-Bucau* > *Twitter: @rmannibucau* > *Blog: http://rmannibucau.wordpress.com* > > > > > 2012/9/14 Yaocl <[email protected]> > >> Hi >> >> CODI BeanValidation module allow @Inject into ConstraintValidator. >> >> But I can't make it work with TomEE. nothing injected. >> There have some examples with Tomcat >> for example basic_registration_form at >> http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/ >> >> It have a UniqueLoginNameValidator.java, I can not make this validator >> work under TomEE. >> >> Regards, >> YaoCL >>
