0 Replies Latest reply on Dec 1, 2009 2:17 PM by schnulla

    FacesMessage after identity.logout()

    schnulla

      Hello, the line identity.logout() in the code snippet below
      makes the facemessage disappear (I never see it). When I
      remove the logout I can see the message. How can I solve that?


      Help is really appreciated!




      @Stateless
      @Scope(SESSION)
      @Name("control")
      
      [...]
      
      public String userDelete() {
          [...]
                      
          identity.logout();
                      
          FacesMessages.instance().add("User deleted!");
                      
          return "/home.xhtml";
      }