2014-08-29 75 views
-1

我有下面的代碼我重定向到另一個網頁:Primefaces comondButton重定向停止工作

<p:commandButton value="RegisterMe" 
        action="registration?faces-redirect=true"> 
       </p:commandButton> 

這是工作幾分鐘前,它停止了......但按鈕沒有我沒有任何改變將我重定向到註冊頁面。你知道會發生什麼嗎?提前致謝!

+0

'該按鈕不會將我重定向到註冊頁面。那麼,現在正在做什麼呢? – 2014-08-29 21:38:37

+0

這是問題,當我點擊按鈕時什麼也沒有發生。 – Tot 2014-08-30 07:03:29

+0

按鈕是好的,問題是此代碼之外。沒有更多信息,無法幫助。嘗試清潔和建設 – 2014-08-30 13:10:18

回答

1

使用ajax="false"屬性p:commandButton。更確定的是,沒有update model process,您可以使用immediate="true"