CommandLink

CommandLink extends the standard h:commandLink with ajax, partial processing and confirmation features.

Documentation
<h:form>   
    <p:growl id="growl" life="2000" />
    
    <p:commandLink id="ajax" update="growl" action="#{buttonView.buttonAction}" style="margin-right:20px;">
        <h:outputText value="Ajax Submit" />
    </p:commandLink>

    <p:commandLink id="nonAjax" action="#{buttonView.buttonAction}" style="margin-right:20px;" ajax="false">
        <h:outputText value="Non-Ajax Submit" />
    </p:commandLink>      
</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.