Menu
  • HOME
  • TAGS

EJB and managed bean injections in @FacesConverter and @FacesValidator in JSF 2.3

jsf,converter,jsf-2.3

As you can see in Mojarra 2.3.0-m02's Application#createConverter() implementation, it checks if it's running in JSF 2.3 mode as per faces-config.xml version declaration before trying to grab a CDI-managed one. In other words, in order to get @FacesConverter(managed=true), @FacesValidator(managed=true) and thus @Inject in those classes to work, you need to...