template.xhtml
Code: Select all
<pe:layout id="fullPage" widgetVar="fpLayoutWidget">
<pe:layoutPane position="north" size="50" closable="false" >
</pe:layoutPane>
<pe:layoutPane position="center">
<ui:insert name="content"></ui:insert>
</pe:layoutPane>
<pe:layoutPane position="west" size="260">
</pe:layoutPane>
<pe:layoutPane position="south" size="30" closable="false" >
</pe:layoutPane>
</pe:layout>
Code: Select all
<ui:composition template="inc/layout.xhtml">
<ui:define name="content">
<h:panelGroup id="mainArea" layout="block">
<h:panelGroup styleClass="content_box" layout="block" >
<ui:include src="admin/company_list.xhtml" />
</h:panelGroup>
</h:panelGroup>
</ui:define>
</ui:composition>
and company_list.xhtml contains p:dialog, when it popup, get dead.
Of course it works well when I replace pe:layout with div, so I figout out, it is pe:layout cause p:dialog problem.