0 Replies Latest reply on Aug 23, 2009 5:30 PM by tamas.tamas.blummers.hu

    Outjection of a member in a conversation scoped bean

    tamas.tamas.blummers.hu

      I observed using seam 2.2.0.GA that outjection of a stateful bean member that is in the default conversation context does not work as I expected if scope is not explicitly given.


      To be concrete:


      @Name("currentSite")
      @Stateful
      @Conversational
      public class CurrentSiteBean implements Serializable, CurrentSite
      {
      @In(required=false)
      @Out
      private List<Site> sites;
      



      does not work, whereas following does:


      @In(required=false)
      @Out(scope=ScopeType.CONVERSATION)
      private List<Site> sites;
      



      It might be because the default context for POJO's is Event and sites is just a POJO.
      In this case it is not a bug but a subtle feature, that deserves explicit documentation.