JSF renderizó múltiples condiciones combinadas


Necesito dar una condición como

 if((a == 12 and b == 13) or(a == 12 and b == 15))

En el atributo renderizado de JSF.

Alguien Puede ayudar?

Author: tjd, 2013-02-08

1 answers

Asumiendo que "a" y "b" son propiedades del frijol

rendered="#{bean.a==12 and (bean.b==13 or bean.b==15)}"

Usted puede mirar JSF EL operadores

 63
Author: Serkan Arıkuşu,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-02-08 14:59:29