[ 
https://issues.apache.org/jira/browse/MYFACES-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996540#comment-12996540
 ] 

Gurkan Erdogdu commented on MYFACES-3035:
-----------------------------------------

Tomcat7AnnotationLifecycleProvider calls Tomcat 7 Instancemanager for creation 
of MB instance and injection of annotations. Because Tomcat7 InstanceManager 
does not understand to inject @ManagedProperty this field is null. You can 
write your own instance manager. 



> PostConstruct method is called before properties are injected on Tomcat 7 
> --------------------------------------------------------------------------
>
>                 Key: MYFACES-3035
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3035
>             Project: MyFaces Core
>          Issue Type: Bug
>         Environment: Tomcat 7.0.8, MyFaces 2.0.3
>            Reporter: Nick Belaevski
>         Attachments: myfaces-3035.zip
>
>
> Deploy attached project (use 'myfaces' profile only) under Tomcat 7 and open 
> index.jsf. Inspect console output, Bean.init() should print injected list 
> contents, however on Tomcat 7 it prints null. Tomcat 6 works as expected

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to