Which is the menu used in Volt Page?

Locked
Alidasoftware
Posts: 3
Joined: 06 Nov 2015, 20:07

20 May 2016, 00:48

Hi,
I´m interested in get a menu style like the volt page (The inline left menu in preview volt page http://www.primefaces.org/volt/ ). Could you please tell me which is the type of menu used on the page and the volt style class applied?

Thanks,

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

20 May 2016, 13:22

It is not a primefaces component. We've created a custom menu for layout by extending BaseMenuRenderer.java. Therefore, you can not use this menu in page like a primefaces component. You can only use it at left position of layout.

Code: Select all

<ui:composition 
    ...
    xmlns:p="http://primefaces.org/ui"
    xmlns:pv="http://primefaces.org/volt">

...
// Volt Layout Menu //

    <pv:menu>

        <p:submenu id="rm_dashboards" label="Dashboards" icon="icon-leaf">
            <p:menuitem id="rm_db_landing" value="Your Promotion Page" icon="icon-leaf" outcome="/promotion-page"/>
            <p:menuitem id="rm_db_v1" value="Dashboard V1" icon="icon-leaf" outcome="/dashboard"/>
            <p:menuitem id="rm_db_v2" value="Dashboard V2" icon="icon-leaf" outcome="/dashboard2"/>
        </p:submenu>
         ....
    </pv:menu>

</ui:composition>

Locked

Return to “Volt”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests