我有以下代码将我重定向到另一个网页:
<p:commandButton value="RegisterMe"
action="registration?faces-redirect=true">
</p:commandButton>
几分钟前它还在工作,但它停止了。。。我没有更改任何内容,但按钮不会将我重定向到注册页面。你知道会发生什么吗?提前感谢!
在p:commandButton
中使用ajax="false"
属性。更确切地说,没有update model process
,您可以使用immediate="true"
。