How to update a layoutUnit in PrimeFaces

左心房为你撑大大i 提交于 2019-12-06 16:44:30

I found how to display correctly the content. I added a panel and I refreshes it instead of the layout.

<p:commandLink update=":myPanel" actionListener="#{sidePviewTest.sideBarAction}" value="Center1">
    <f:param name="pageViewId" value="center1" />
</p:commandLink>

<p:layoutUnit id="center" position="center">
    <p:panel id="myPanel">
    <ui:include src="#{sidePviewTest.includedPage}" />
    </p:panel>
</p:layoutUnit>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!