How to make dynamic menu in paradise template?

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
cahendi
Posts: 4
Joined: 20 Jul 2016, 07:10

15 May 2017, 13:08

I want to create a dynamic menu on primefaces paradise template. Does anyone can provide the source code about it. Thank you

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

16 May 2017, 11:22

I think you can use model attribute of layout menu. Exp;
https://www.primefaces.org/showcase/ui/menu/menu.xhtml (Please see 'Programmatic Menu' example)

Code: Select all

xmlns:pv="http://primefaces.org/paradise"

<pv:menu model="#{testView.menuModel}">
</pv:menu>

cahendi
Posts: 4
Joined: 20 Jul 2016, 07:10

21 May 2017, 16:48

Thanx's..

I've managed to create a dynamic menu, but I have problems when the menu item is clicked, can not do a redirect

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 May 2017, 11:44

Could you please attach your menu model for us?

Post Reply

Return to “Paradise - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests