【问题标题】:How to display an existing Facelets page in a <p:dialog>?如何在 <p:dialog> 中显示现有的 Facelets 页面?
【发布时间】:2012-11-14 09:53:30
【问题描述】:

是否可以在&lt;p:dialog&gt; 中完全显示以前创建的 Facelets 页面?

【问题讨论】:

    标签: jsf primefaces facelets


    【解决方案1】:

    将&lt;ui:include src="myPage.xhtml" /&gt; 放入您的&lt;p:dialog

    喜欢这个

    <p:dialog id="dialog" widgetVar="dlg" >  
        <ui:include src="myPage.xhtml" />
    </p:dialog>  
    

    【讨论】:

      猜你喜欢
      • 2011-03-10
      • 1970-01-01
      • 2012-02-10
      • 1970-01-01
      • 2015-11-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-26
      相关资源
      最近更新 更多