0 Replies Latest reply on May 23, 2008 9:34 PM by antonio attadia

    Form whit more entity bean

    antonio attadia Newbie

      Hi, I'm a jboss-seam newbie. I have 2 entity beans
      User and UserDetails:


      @Entity
      @Name("user")
      public class User implements Serializzable{
      private String username;
      private String password;
      @Id
      public String getUsername(){
      return username;
      }
      ...remaining setters & getter...
      } 
      
      @Entity
      @Name("userDetails")
      public class UserDetails implements Serializzable{
      private String username;
      private String details;
      @Id
      public String getUsername(){
      return username;
      }
      ...remaining setters & getter...
      } 
      


      I want to write a jsp with a form to store in DB user's informations.
      The form must contain only 3 text fields and a button.


      Someone could help me?