OutputPanel Output panel is a container element with several use cases such as autoUpdate and deferred loading. This example demonstrates the deferred loading feature with two modes where the content of the panel is loaded after the page itself is loaded to speed up initial page load time. There are two deferred modes, "load" (after page load) and "visible" (after page load and visible after page scroll). A progress indicator is also provided while loading the content.
<h:form>
    <p:outputPanel deferred="true">
        <h3>Loaded after page load.</h3>
        <p>Lorem ipsum dolor sit amet...</p>
    </p:outputPanel>

    <div style="height:600px"></div>

    <p:outputPanel deferred="true" deferredMode="visible">
        <h3>Loaded after the panel becomes visible on page scroll.</h3>
        <p>Lorem ipsum dolor sit amet...</p>
    </p:outputPanel>
</h:form>
                
PrimeTek, Copyright © 2015
All rights reserved.
Running PrimeFaces-6.0.12 on Mojarra-2.2.8.