Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.2
-
None
-
Myfaces 2.0.3, CODI 0.9.2, ExtVal 2.0.4, OWB 1.0.0, PrimeFaces 2.2-RC2
Description
The bean which sould be injected in my converter is always null.
I also added some logging to CODI, to see where the problem is.
The bean was created and injected into the converter but it seems as the used converter is not the converter which was created by CODI.
Is there something wrong in my setup or is this really a bug?
-----------------------------------------------------------
@Advanced
@FacesConverter("localeConverter")
public class LocaleConverter implements Converter {
@Inject private LocaleService localeService;
-----------------------------------------------------------
<h:form>
<h:selectOneMenu
id="selectLocaleMenu"
value="#
"
onchange="this.form.submit()"
converter="localeConverter">
<f:selectItems
value="#
"
var="locale"
itemLabel="#
"
itemValue="#
"/>
</h:selectOneMenu>
</h:form>
Attachments
Issue Links
- relates to
-
EXTCDI-227 Injection in FacesConverter in composite components
- Closed