【发布时间】:2014-11-15 18:57:35
【问题描述】:
我遇到的问题是,当我想将我的对话框与布局和布局单元分开时,只有北部布局单元的 10 像素上部会被渲染。在渲染的那个小部分中,您可以向下滚动以查看北“12”和中心“12”的值。
<h:form id="mainDllg">
<p:dialog id="mainDlg" header="12" widgetVar="mainDlg"
rendered="true" closeOnEscape="true"
style="width:99% !important; height:99% !important"
resizable="false" modal="true">
<p:outputPanel>
<p:layout>
<p:layoutUnit position="north">12</p:layoutUnit>
<p:layoutUnit position="center">12</p:layoutUnit>
</p:layout>
</p:outputPanel>
</p:dialog>
</h:form>
【问题讨论】:
标签: css jsf jsf-2 primefaces