Ajax Framework - RemoteCommand

RemoteCommand provides a simple way to execute backing bean methods with javascript.

Documentation
<h:form>
    <p:remoteCommand name="rc" update="msgs" action="#{remoteCommandView.execute}" />
    
    <p:growl id="msgs" showDetail="true" skipDetailIfEqualsSummary="true" />
    <p:commandButton type="button" onclick="rc()" value="Execute" icon="pi pi-refresh" />
</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.