Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
レコードの保存後にダイアログを閉じる必要があるという要件があります。レコードが正常に保存されたら、ユーザーに別の .xhtml ページを表示する必要があります。誰かがそれを達成する方法を手伝ってもらえますか?
ダイアログの保存ボタンのアクション メソッドで有効なナビゲーション結果を返すだけです。
例えば
<p:commandButton value="Save" action="#{bean.save}" />
と
public String save() { // ... return "other.xhtml"; }