1 Reply Latest reply on May 7, 2011 7:26 AM by xsa lefter

    What ScopeType should be used during construction of seam objects

    Joshua D Novice
              UserList userList = (UserList) Component.getInstance(UserList.class);
              return userList.getUserByLoginId(loginId);

      A sample code usage of fetching a user by login id is given below. I instantiate the UserList class to call the method. What ScopeType should I use here specifically so that the object's scope is minimal.