Link Details

Link 991537 thumbnail
User 1153849 avatar

By nayef
via nayefreza.blogspot.com
Submitted: Jul 02 2013 / 08:09

Suppose we have two models, Book and Author. each book having a list of authors. both books and authors are objects and for creating books we need to select authors for that book from an author list. here we use jsf. we use custom converter to convert author names in the list into author objects so that the selected authors from the view are turned into author list for the book. here is how we do it.
  • 2
  • 0
  • 567
  • 83

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java