Tried with equal, with and without quotes, and I get an invalid syntax
exception. With eq, again I get the "cannot get value" error.

2006/5/18, Cosma Colanicchia <[EMAIL PROTECTED]>:
Ooschn, it must be a String. Maybe the problem is related to the
custom PropertyResolver from struts-shale: my person bean is a
DynaBean dynamically generated from a SQL query (and the field is a
VARCHAR), so in order to access its values I had to provide this
resolver. Anyway, the exception is thrown before the property resolver
getValue method is called.. this make me think that the problem is
related only to the syntax used.



2006/5/18, Ooschn <[EMAIL PROTECTED]>:
>
> Hi,
>
> Is your PersonBean's getFgDismissed() return value really a String?
> If it is an int or Integer for example, just leave the Single-Quotes:
>
> #{person.fgDismissed == '1' ? 'Yes' : 'No'}      ====>
> #{person.fgDismissed == 1 ? 'Yes' : 'No'}
> --
> View this message in context: 
http://www.nabble.com/Simple-queston-on-EL-syntax-t1641561.html#a4447816
> Sent from the MyFaces - Users forum at Nabble.com.
>
>

Reply via email to