EL expression for string comparison
I wanted to set the rendered property of a widget based on an EL expression.
The EL expression itself should be comparing strings. Is this possible ?
Here's what I am trying to do:
I want to set the rendered property for an outputtext to false if the customer status(bound as #{bindings.CustomerStatus} in the pagedef) does not match the string "Four Star"
<af:outputText value="Special Customer"
id="outputText11"
rendered="false"/>
The binding in the pagedef looks like:
<attributeValues IterBinding="CustomersIterator"
id="CustomerStatus">
<AttrNames>
<Item Value="CustomerStatus"/>
</AttrNames>
</attributeValues>