Steven 的 IT 學習旅程
網頁
首頁
Java Learning Resources
Learning Resources for Data Science
Learning English
參考資料
2015年11月10日 星期二
在 JSF Page 中如何依條件顯示特定元件
在 JSF Page 中如何依條件顯示特定元件? 例如, 當 user login 後在 nav bar 上顯示 logout icon. 若尚未login 則顯示 login icon.
請參考 Stackoverflow 中的這則討論
How to use if, else condition in jsf to display image
. 可以使用的選項:
c:if
c:choose
render attribute for the UIComponent
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
熱門文章
Netbean 8 上的常用快速鍵 (Keyboard Shortcuts)
Credit Memo & Debit Memo 的概念
PrimeFaces 處理 Ajax request 過程中所產生的 callbacks 及 events
Oracle Forms Builder 11gR2 安裝手冊
如何將資料庫中的 table scheme 匯入到 SQL Developer Data Modeler 中
沒有留言:
張貼留言