Datatable as row another Datatable

UI Components for JSF
Post Reply
Pipin
Posts: 1
Joined: 29 Sep 2011, 16:39

29 Sep 2011, 16:59

Hi, All!
I have to realize a document which have a header and Lines(for example Purchase Order). The data from header is based on table "PurchaseTable" from database, the Lines are based on another table "PurchaseLine". In database i have related this tables like OneToMany. Next in Netbeans i have created Entity Clasess using persistence(JPA) and JSF pages with primefaces datatable component. But i couldn't understand how i can create in one JSF page two related p:datable where lines in second datatable(PurchaseLine) depends from row which is selected in first datatable(Purchase Order)!
What should i do?Can anyone help me?
I'am using Netbeans 7.0 and primefaces 2.2.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 35 guests