4 Replies Latest reply on Aug 26, 2007 12:43 PM by Jacek Zebrowski

    Multiple JSF Components -> One field of Entity

    Jacek Zebrowski Newbie

      OK so i have a problem regarded to properity binding.
      i Understand that JSF widgets values can only be bound to a entity fields.

      Suppose i have entity bean called user - with lastname firstname and screen name.
      Form lets you select screen name in 2 ways :
      - Combo Box of combinations of the last and first name in diffreent ways.
      - Custom screenname field.

      Since there is only one entity field called screen name i cant bound 2 fields to one entity field. This problem seems to be kind of a common thing so i'd like to hear your suggestions about it.

      PS.
      Can i bind jsf widget to a session bean properity ? that would solve the problem... but seems quite nasty :/