I'm using JDeveloper 11.1.1.7.0
In the backing bean, I have a List attribute called myList, with related public and standard getter and setter methods, and I need to check if a String is contained inside it, in the context of an EL expression.
I have tried this expression:
disabled="#{myBean.myList.contains(label)}"
But it fails, and the message is that character ( has found instead of [ , . , or, eq, ...
I have tried to generate my custom TLD following this clear and well-explained steps How to create a custom EL function?, but I got an error becaus the function I declare is not found.
How can I check this condition (String contained in a List) in an EL expression? Thanks in advance. Regards