JARCH SHOWCASE
JARCH SHOWCASE
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.
<a:form>
    <a:outputPanel deferred="true">
        <h3>Loaded after page load.</h3>
        <p>Lorem ipsum dolor sit amet...</p>
    </a:outputPanel>

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

    <a:outputPanel deferred="true" deferredMode="visible">
        <h3>Loaded after the panel becomes visible on page scroll.</h3>
        <p>Lorem ipsum dolor sit amet...</p>
    </a:outputPanel>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.