Primefaces p:commandlink url未刷新
我正在为我的菜单使用p:commandlink。。 问题是浏览器中的url没有使用操作中提供的页面刷新 这是我的密码 有什么帮助吗Primefaces p:commandlink url未刷新,primefaces,Primefaces,我正在为我的菜单使用p:commandlink。。 问题是浏览器中的url没有使用操作中提供的页面刷新 这是我的密码 有什么帮助吗 <li><a href="#">Masters</a> <ul> <li><p:commandLink action="ParcelMaster1.xhtml
<li><a href="#">Masters</a>
<ul>
<li><p:commandLink action="ParcelMaster1.xhtml" value="ParcelMaster" /></li>
<li><p:commandLink action="ZoneMaster1.xhtml" value="ZoneMaster" ajax="false"/></li>
<li><p:commandLink action="PropertyFlatMaster1.xhtml" value="PropertyFlatMaster" ajax="false"/></li>
<li><p:commandLink action="WardMaster1.xhtml" value="WardMaster" ajax="false"/></li>
<li><p:commandLink action="MaMaster1.xhtml" value="MAMaster" ajax="false"/></li>
<li><p:commandLink action="PropertyParentMaster.xhtml" value="PropertyParentMaster" ajax="false"/></li>
<li><a href="" title="">Usage Types</a></li>
<li><a href="" title="">Custom Types</a></li>
</ul></li>
您必须将ajax=“false”
添加到您的命令链接中。默认情况下,它是ajax调用,不能重定向。还可以尝试将?faces redirect=true
添加到要重定向到的url 您必须将ajax=“false”
添加到您的commandLink
。默认情况下,它是ajax调用,不能重定向。还可以尝试将?faces redirect=true
添加到要重定向到的url