Retrieving the ValidatorFactory JNDI entry for a module context.

2010-08-26 Thread Rick McGuire
I'm trying to implement the bean validation feature described in section EE.6.27 of the Java EE 6 specification. This requires that the web container set a property named javax.faces.validator.beanValidator.ValidatorFactory in the ServletContext. I know where this should be set, but I'm

Re: Retrieving the ValidatorFactory JNDI entry for a module context.

2010-08-26 Thread Vamsavardhana Reddy
Hi Rick, Isn't javax.faces.validator.beanValidator.ValidatorFactory attribute required in the ServletContext only when the web app is using JSF? Then the place where this attribute can be added is in MyFacesModuleBuilderExtension using a RuntimeCustomizer (similar to

Re: Retrieving the ValidatorFactory JNDI entry for a module context.

2010-08-26 Thread Vamsavardhana Reddy
Ah... the solution seems to be much simpler get rid of the java: in the lookup!! On Thu, Aug 26, 2010 at 8:56 PM, Rick McGuire rick...@gmail.com wrote: I'm trying to implement the bean validation feature described in section EE.6.27 of the Java EE 6 specification. This requires that the