hi hampus, yes - the factory can be bound to an application.
regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/9/19 Hampus Wingren <carl.hampus.wing...@bredband.net> > Couldn´t it just be stored in the application map so it works regardless of > context? I think that Mojarra does it like that. > > Regards, > Hampus > > -----Original Message----- > From: Hampus Wingren [mailto:carl.hampus.wing...@bredband.net] > Sent: den 19 september 2011 18:59 > To: MyFaces Discussion > Subject: bean validation and portlets > > Hi all, > > > > I´m trying to use bean validation with myfaces 2.1.3 but it seems that it´s > not supported in a portlet environment!? Are there any specific reasons for > this (it just seems to be caching the factory in the ServletContext, > > javax.faces.validator.BeanValidator.createValidatorFactory())? > > Regards, > Hampus > >