Dialog - Dynamic Dynamic dialogs fetch their content just before they are displayed rather than initial page load. This is a useful feature to reduce page size and speed up page load time.
Dialog
<p:commandButton value="Show Dialog" onclick="PF('dlg').show();" type="button" />
       
<p:dialog header="Dialog" widgetVar="dlg" dynamic="true">
   <h:outputText value="This content is loaded lazy." />
</p:dialog>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2-SNAPSHOT on Mojarra-2.3.2.