This content has been marked as final.
Show 1 reply
-
1. Re: Multiple instances in @ApplicationScoped created
ejb3workshop Mar 14, 2014 12:55 AM (in response to ejb3workshop)I found the solution for this problem here. http://stackoverflow.com/questions/7531449/cdi-injection-into-a-facesconverter
Replace
@FacesConverter(value = "categoryConverter")
by
@Named
and use
<h:inputSomething converter="#{categoryConverter}" />
or
<f:converter binding="#{categoryConverter}" />
instead of
<h:inputSomething converter="categoryConverter" />
or
<f:converter converterId="categoryConverter" />