1 Reply Latest reply on Dec 23, 2010 12:42 PM by Thomas Kernstock

    Verborgh's @ViewScope CDI always active

    Leonardo Silva Newbie


      I'm using cdi and jsf2 on glassfish 3 and also using Steven Verborgh's @ViewScope, it's working almost fine, the only problem is the @PreDestroy callback that is never called. I tried the @ManagedBean from jsf like suggested on the first discution about this but still doesn't work.
      Lookin on the ViewContext class, I saw that the isActive() method just returns true, does this have anything to do with the problem? Have anyone solved the @PreDestroy callback problem?

      Thank you.