Mirage LIVE PREVIEW

Link Button

LinkButton a simple link, which is styled as a button and integrated with JSF navigation model.

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

<p:linkButton outcome="productDetail" value="Bookmark new tab" style="margin-right:20px;" target="_blank">
    <f:param name="productId" value="10" />
</p:linkButton>

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

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

<p:linkButton outcome="productDetail" value="With Icon" disabled="true" style="margin-right:20px;">
    <f:param name="productId" value="40" />
</p:linkButton>

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

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