开发者

How to create dynamic menu using database and JSF

I want to create dynamic menu from Database it's mean i have Catagory is main menu and some catagory such as Books, CDs, Managzine . . . and Sub- Category is child of Category ( 2 table one is Category and table two is Sub-Category, and one - to many relationship) such as Ebooks for Books category, 007 for Cds, PC Worlds for MAgazine , Dictionary English for Books, Titanic for CDs

Dynamic menu load from database and display output to JSF page follow:

Books

 Ebooks
 Di开发者_StackOverflow中文版ctionary

CDs

 007
 Titanic

Magazine

 PC Worlds
 IT Magazine

How can i do it


I would recommend to you to use PrimeFaces Dynamic Menu.

In order to install PrimeFaces read their Getting Started guide.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜