CommandLink CommandLink extends the standard h:commandLink with ajax, partial processing and confirmation features.
Ajax SubmitNon-Ajax Submit
<h:form>
    <p:growl id="growl" life="2000" />

    <p:commandLink id="ajax" update="growl" actionListener="#{buttonView.buttonAction}">
        <h:outputText value="Ajax Submit" />
    </p:commandLink>

    <p:commandLink id="nonAjax" actionListener="#{buttonView.buttonAction}" ajax="false">
        <h:outputText value="Non-Ajax Submit" />
    </p:commandLink>
</h:form>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.1.4 on Mojarra-2.2.10.