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