menu -> dynamic from bean?

Post Reply
Posts: 478
Joined: 02 Feb 2014, 17:38

27 Sep 2021, 19:17


currently we have the static menu:

Code: Select all


							<p:menuitem value="HOME" icon="fa fa-home"
								outcome="/public/startPage" />

							<p:submenu label="MENU1" icon="fa fa-film">
								<p:menuitem value="PAGE1"
										outcome="/public/page1" />

How can I do this dynamic?
I would like to have the several
<p:menuitem value="PAGE1"outcome="/public/page1" />
which are coming from a menu from my bean.

How is this possible?
PF 8.0

Posts: 4765
Joined: 29 Jun 2013, 12:38

29 Sep 2021, 11:13


You can create it like in (Programmatic section)

Similar issue; viewtopic.php?f=138&t=64583

Best Regards,

Post Reply

Return to “Verona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest