adf faces 11 compare string or number in el expressions
454372Nov 3 2009 — edited Nov 3 2009Hi i am trying to to set an image source in a table depending on the value of another field in the same table.
I am using a ternary expression like example below :
#{row.matchedYN eq 'Y' ? 'image/check.png' ; 'image/warning.png'}
This alway returns the "warning.png" .
I also tried to compare number field with 0 and then i get an error "can not cast number".
I suppose i need some sort of function that can compare strings and number types.