1 Reply Latest reply on Apr 27, 2009 5:57 PM by Radu B

    Extending UserAccount created by seam-gen

    Martin Vecera Novice

      Hello!


      I'm trying to develop a small application using Seam. I used seam-gen to create my project and user management (Seam 2.1.2 CR1). Now I have UserAccount.java which is quite limited. If I added some attribute (e.g. email), I'm blocked with userAction that cannot handle it. What is you recommended way of adding more attributes to user account? I can think of:



      1. another entity in relation to UserAccount carrying the attributes (this seems little bit weird to me)

      2. extend userAction component (and add extra getter/setter pair for each attribute)

      3. any easy to follow way I can't see?




      Many thanks!
      Martin