You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2017/10/06 08:56:01 UTC

[jira] [Resolved] (DELTASPIKE-1293) CDI qualifiers support for JSF converters

     [ https://issues.apache.org/jira/browse/DELTASPIKE-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved DELTASPIKE-1293.
------------------------------------------
    Resolution: Cannot Reproduce

#1 in case of binding="#{nameOfConverter} with f:converter jsf resolves the bean directly (deltaspike doesn't change something here)
#2 a local test was successful (with myfaces-core + owb)

> CDI qualifiers support for JSF converters
> -----------------------------------------
>
>                 Key: DELTASPIKE-1293
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1293
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: JSF-Module
>    Affects Versions: 1.7.2
>            Reporter: Christophe Chisogne
>             Fix For: 1.8.1
>
>
> The CDI support for JSF converters is working well when the converter is not using qualifier annotations. When using qualifier annotations like {{@Named}} in {{<f:converter binding=.../>}}, the CDI extension adds a bean correctly but can't resolve it.
> The resolution in {{ManagedArtifactResolver#getContextualReference()}} simply does not take qualifiers into account: {{Set<Bean<?>> beans = beanManager.getBeans(type);}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)