10 Replies Latest reply on Dec 12, 2009 4:13 PM by Arbi Sookazian

    Am I missing something obvious with the JSF example in docs?

    Ian R Newbie

      I'm talking about the User/Credentials JSf example in Chapter 3.

      When I try to do something like that, I get a Credentials object injected but the username and password are both null. I have debugged and seen the setUsername and setPassword methods called with the correct values.

      But wouldn't the injected Credentials object simply be blank, or disappear out of scope as it is a RequestScoped object? The Login object would then keep it, as it is a SessionScoped object and it is already been injected in.

      Am I missing something obvious here?