Eduardo Breijo created MYFACES-4129:
---------------------------------------

             Summary: When @FacesConfig annotation is used in a CDI bean, 
implicit EL objects don't work
                 Key: MYFACES-4129
                 URL: https://issues.apache.org/jira/browse/MYFACES-4129
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.3.0-beta
            Reporter: Eduardo Breijo
         Attachments: ImplicitELObjects.war

When the @javax.faces.annotation.FacesConfig annotation is used in a CDI bean, 
the implicit EL Objects from JSF 2.3 spec section 5.9.2 don't work. This is 
because when that FacesConfig annotation is in a bean we remove the implicit EL 
resolver from the chain so we don't have any mechanism for CDI to do the 
resolution of the implicit objects.

Tested this on Mojarra and it works fine, with or without @FacesConfig 
annotation.

A sample app is provided. It can be deployed on tomcat:

1) Drive a request to: http://localhost:8080/ImplicitELObjects/index.jsf
2) You should see that Application: ApplicationScope: and Component: are empty 
since they cannot be resolved



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

Reply via email to