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.
私は次のことをしようとしています:
rendered="#{billBean.company.equals("something")}"
"something"しかし問題は、内部に書き込めないこと#{}です。以下の XML 解析エラーが発生します。
"something"
#{}
要素タイプ「h:commandLink」の後には、属性指定「>」または「/>」が続く必要があります。
どうすればこれを達成できますか?
StringEL 内のプレーンを参照するには、一重引用符 (') を使用します。
String
rendered="#{billBean.company.equals('something')}"