How to develop a tree menu using Java Server Faces?
Posted on 2009-04-11
Could anyone guide me on how to develop a dynamic tree menu using Java Server Faces? The requirement is such that: There will be a root menu "Projects". When it is clicked, it should expand with a list of projects and each project should have a sub-menu with the modules related to that project. The nodes "Projects" and "Modules" are static, whereas the content should be dynamically loaded. Diagramatically, it should be as below:
Before Clicking "Projects":
After Clicking "Projects"
After Clicking on "ERP"