Page 1 of 1

Expanded submenus on <pv:menu>

Posted: 16 May 2016, 20:25
by gbaird
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.

Re: Expanded submenus on <pv:menu>

Posted: 18 May 2016, 12:31
by mert.sincan
<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.

Re: Expanded submenus on <pv:menu>

Posted: 03 Jun 2016, 16:19
by apite
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.