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.
我需要给出类似的条件
if((a == 12 and b == 13) or(a == 12 and b == 15))
在 JSF 渲染属性中。
任何人都可以帮忙吗?
假设“a”和“b”是bean属性
rendered="#{bean.a==12 and (bean.b==13 or bean.b==15)}"
您可以查看JSF EL 运算符