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.

Source

<p:button outcome="productDetail" value="Bookmark" icon="ui-icon-star">
    <f:param name="productId" value="10" />
</p:button>

<p:button outcome="productDetail" value="With Icon" icon="ui-icon-star">
    <f:param name="productId" value="20" />
</p:button>

<p:button outcome="productDetail" icon="ui-icon-star" title="Icon Only">
    <f:param name="productId" value="30" />
</p:button>

<p:button outcome="productDetail" value="Bookmark" icon="ui-icon-star" disabled="true">
    <f:param name="productId" value="40" />
</p:button>