Modal dialog doesn't work with p:layout
Posted: 22 Sep 2011, 09:51
When you display a modal dialog within p:layout/p:layoutUnit the dialog itself is also disabled. SInce M3
I will create an issue.
Code: Select all
<p:layout fullPage="true">
<p:layoutUnit position="west" size="75" resizable="false" closable="false" collapsible="false">
<p:commandButton value="Modal" onclick="dlg2.show();" type="button"/>
</p:layoutUnit>
<p:layoutUnit position="center" >
<p:dialog header="Modal Dialog" widgetVar="dlg2" modal="true" height="100">
<h:outputText value="This is a Modal Dialog." />
</p:dialog>
</p:layoutUnit>
</p:layout>
I will create an issue.