2
当“text”变量太长而且不适合屏幕时,首先对话框加载ScrollPanel不是渲染。调整对话框大小后,它会出现。有没有解决方法?如何初始化primefaces scrollPanel
<p:dialog id="logDetailsDialogId" header="Log Details" appendToBody="true"
widgetVar="logDialog" resizable="true">
<p:scrollPanel>
<h:outputText value="#{myController.text}"/>
</p:scrollPanel>
</p:dialog>
它的工作原理谢谢 –