4 Replies Latest reply on Jul 18, 2008 6:51 PM by admin.admin.email.tld

    Cannot see Property in the Session Bean :-(

      Hi all !
      I'm developing a login module using a SLSB as action.

      User 
      <h:inputText id="name" value="#{userAction.userName}" required="true"/>
                
      Password 
      <h:inputText id="password" value="#{userAction.password}" required="true"/>



      The corresponding userAction is a SLSB


      @Stateless
      @Name("userAction")
      public class UserAction implements UserActionItf {
      ...
      @In
      String userName;
      @In
      String password;
      ...
      }


      When I run the login page I get an Exception

      javax.el.PropertyNotFoundException: /login.xhtml @20,78 value="#{userAction.userName}": Property 'userName' not found on type org.javassist.tmp.java.lang.Object_$$_javassist_1

      What is missing ??
      Thanks alot
      Francesco