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.
<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." />
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2.RC1 on Mojarra-2.3.2.