I am trying to evaluate EL expression (method expression?) that returns a value (String) if that value is equal to "bar" then I would like to render the tag.
<p:tab rendered="#{bean.getAnswer('foo').answer == "bar"}" />
However I get following error message.
Invalid location of text ("}") in tag.
What would be the right syntax to use?