1 Reply Latest reply on Oct 12, 2007 9:33 PM by matt.drees

    OneToMany & h:selectOneMenu



      I was wondering which 2.0.0CR2 example works with one-to-many relationship and uses h:selectOneMenu on facelets page to display it. (for example, when you create a book, there is a drop-down box of genres to choose from. Both Book and Genre are coming from a database and there is one-to-many relationship between them. Book has genre_id.)

      I scanned quickly through example but couldn't see anything like this.

      Also please correct me if I'm wrong but "seam generate-entities" doesn't generate OneToMany features.

      Thank you,