JSF Datamodel & JPA parent to leaves navigation. How to?
问题 My web application is a CRUD web application based on JSF 2.0 / JPA using Java EE 5 and JDK 1.6. Running on Glassfish 3.1. The IDE is Netbeans 7.0. (I do not use EJB, nor CDI). THE PROBLEM What I can achieve now is perform CRUD on my entities. Which is fine. For each entity I have: List.xhtml (LIsting all Datamodel items for that entity in datatable) Create.xhtml (A form to create a new item) View.xhtml (a form to view an item) Edit.xhtml (a form to edit an item) Structure entities package: