Menu - MenuButton

MenuButton groups multiple items in a popup.

Documentation Widget
<h:form>
    <p:growl id="messages" showDetail="true"/>

    <p:menuButton value="Options">
        <p:menuitem value="Save" action="#{menuView.save}" update="messages" icon="pi pi-save"/>
        <p:menuitem value="Update" action="#{menuView.update}" update="messages" icon="pi pi-refresh"/>
        <p:menuitem value="Delete" action="#{menuView.delete}" ajax="false" icon="pi pi-times"/>
        <p:separator />
        <p:menuitem value="Homepage" url="http://www.primefaces.org" icon="pi pi-home"/>
    </p:menuButton>
</h:form>

FREE THEMES

Built-in component themes created by the PrimeFaces Theme Designer.

nova-light Nova-Light
nova-dark Nova-Dark
nova-colored Nova-Colored
luna-blue Luna-Blue
luna-amber Luna-Amber
luna-green Luna-Green
luna-pink Luna-Pink
omega Omega

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.