You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by mitroiasi <mi...@yahoo.com> on 2009/07/17 16:21:57 UTC
Expression Language question
Hi,
I have a problem concerning the EL syntax. I want that a componennt to be
rendered when 2 boolean properties are true, but I cannot accomplish this.
The following code is:
<h:panelGroup rendered="#{useGun == true && useRifle == true}">
--
View this message in context: http://www.nabble.com/Expression-Language-question-tp24535406p24535406.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: Expression Language question
Posted by mitroiasi <mi...@yahoo.com>.
Hi Michael,
Thank you very much for your fast reply.
In fact I am so tired and I did't see that the error is in the other place.
It works in both ways.
--
View this message in context: http://www.nabble.com/Expression-Language-question-tp24535406p24535927.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: Expression Language question
Posted by Ma...@sanofi-aventis.com.
Or "#{useGun and useRifle}"
Although both should work just fine
-----Original Message-----
From: Michael Heinen [mailto:michael.heinen@recommind.com]
Sent: vendredi 17 juillet 2009 16:29
To: MyFaces Discussion
Subject: RE: Expression Language question
Try "#{useGun && useRifle}"
-----Original Message-----
From: mitroiasi [mailto:mitroiasi@yahoo.com]
Sent: Freitag, 17. Juli 2009 16:22
To: users@myfaces.apache.org
Subject: Expression Language question
Hi,
I have a problem concerning the EL syntax. I want that a componennt to
be
rendered when 2 boolean properties are true, but I cannot accomplish
this.
The following code is:
<h:panelGroup rendered="#{useGun == true && useRifle == true}">
--
View this message in context:
http://www.nabble.com/Expression-Language-question-tp24535406p24535406.h
tml
Sent from the MyFaces - Users mailing list archive at Nabble.com.
RE: Expression Language question
Posted by Michael Heinen <mi...@recommind.com>.
Try "#{useGun && useRifle}"
-----Original Message-----
From: mitroiasi [mailto:mitroiasi@yahoo.com]
Sent: Freitag, 17. Juli 2009 16:22
To: users@myfaces.apache.org
Subject: Expression Language question
Hi,
I have a problem concerning the EL syntax. I want that a componennt to be
rendered when 2 boolean properties are true, but I cannot accomplish this.
The following code is:
<h:panelGroup rendered="#{useGun == true && useRifle == true}">
--
View this message in context: http://www.nabble.com/Expression-Language-question-tp24535406p24535406.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.