arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
RemoteCommand
This example demonstrates a use case where a certain part of a page can be lazily loaded on demand.
Source

<p:commandButton value="Load" type="button" onclick="lazyload()" style="margin-bottom: 10px;"/>
<p:outputPanel id="lazypanel" layout="block">
    <h:outputText
            value="This part of page is lazily loaded on demand using a RemoteCommand"
            rendered="#{requestScope.shouldRender}" />
</p:outputPanel>
<pe:remoteCommand name="lazyload" update="lazypanel">
    <f:setPropertyActionListener value="#{true}"
                                 target="#{requestScope.shouldRender}" />
</pe:remoteCommand>
            
Components and more
Documentation
Attributes (move mouse over the names to see data types)
Name Description
No attributes available for this component.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 15.0.13,PrimeFaces Extensions: 15.0.14-SNAPSHOT,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: Apache Tomcat (TomEE)/9.0.82 (8.0.16),Build time: 2026-02-23 00:32