This ref might provide some help
 
http://www.coreservlets.com/JSF-Tutorial/#Section4


From: Cosma Colanicchia [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 18, 2006 4:16 AM
To: MyFaces Discussion
Subject: Simple queston on EL syntax

Hi,

I have a problem with EL syntax and cannot found any good reference or manual on this topic, so I try to ask you :-)
A component in my JSP page <h:outputText value="#{person.fgDismissed == '1' ? 'Yes' : 'No'}"/> that causes the following exception:
javax.faces.FacesException: Cannot get value for _expression_ '#{person.fgDismissed == '1' ? 'Yes' : 'No'}'

Why it doesn't work? If I simply put an <h:outputText value="#{person.fgDismissed}"/> the value is correctly printed...

TIA
Cosma


Reply via email to