Expanded submenus on <pv:menu>

Posts: 15
Joined: 03 Nov 2010, 13:29

16 May 2016, 20:25

It looks like <pv:menu> does not acknowledge expanded=true on <p:submenu> components nested within it? Any plans to change that in Volt? Would like to show a fully expanded menu with the submenu grouping headers. Works fine when I switch to <p:menu> of course, but I lose the lovely Volt menu style.
Payara 4.1.1, PrimeFaces 5.3

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

18 May 2016, 12:31

<pv:menu> is a custom component for Layout. Therefore, it doesn't support expanded=true feature. I think you need to override VoltMenuRenderer.java and layout.js.
Any plans to change that in Volt?
- No, but I can override JS and Renderer.java for you if you want this feature.
Last edited by mert.sincan on 03 Jun 2016, 16:46, edited 1 time in total.

Posts: 3
Joined: 26 Mar 2013, 20:56
Location: Hungary

03 Jun 2016, 16:19

I need this (expanded = true) feature. I would like to use in java program to view the selected menu item, if the user comes to my sub webpage from outside.


Return to “Volt”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest