2 Replies Latest reply on Dec 19, 2013 3:13 PM by omar al kababji

    @PostConstruct not working with @Named and @javax.faces.view.ViewScoped for CDI on Wildfly Beta1

    Esmin Gracić Newbie

      I have a simple bean that backs JSF 2.2 page.


      When using @ViewScope  (javax.faces.view.ViewScoped) with @Named - new CDI beans for jsf, neither @PostConstruct, nor class constructor is invoked.


      Same bean on Glassfish 4, works as expected.

      When I replace CDI annotations with @ManagedBean and related @ViewScoped, also this works as expected.


      Looked through JIRA, but found no mention on this issue?


      I'm using Beta1 version downloaded from Downloads · WildFly