Code: Select all
....
lots of content (e.g. 100 x <br />)
......
<h:panelGrid columns="1" cellpadding="5">
<p:commandButton value="Modal" type="button" onclick="PF('dlg2').show();" />
</h:panelGrid>
<p:dialog header="Modal Dialog" widgetVar="dlg2" modal="true" height="100" positionType="absolute" >
<h:outputText value="This is a Modal Dialog." />
</p:dialog>
I think this may have been broken from 6.2.