Button

Button is an extension to the standard h:button component featuring advanced skinning capabilities. Just like h:button, button does GET requests targeting bookmarkable URLs.

Documentation
<p:button outcome="productDetail" value="Bookmark" icon="pi pi-star" style="margin-right:20px;">
    <f:param name="productId" value="10" />
</p:button>

<p:button outcome="productDetail" value="With Icon" icon="pi pi-star" style="margin-right:20px;">
    <f:param name="productId" value="20" />
</p:button>

<p:button outcome="productDetail" icon="pi pi-star" style="margin-right:20px;" title="Icon Only">
    <f:param name="productId" value="30" />
</p:button>

<p:button outcome="productDetail" value="Bookmark" icon="pi pi-star" disabled="true" style="margin-right:20px;">
    <f:param name="productId" value="40" />
</p:button>

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.