4 Replies Latest reply on Jul 18, 2008 6:51 PM by System Administrator

    Cannot see Property in the Session Bean :-(

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

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

      The corresponding userAction is a SLSB

      public class UserAction implements UserActionItf {
      String userName;
      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