I have a menu item that I want to show/hide only if the user has certain roles.
I'm using the rendered attribute for this, but I'm stuck on something. This works ...
rendered="#{loginHandler.hasStaffRole}"
... but this does not ...
rendered="#{loginHandler.hasStaffRole or loginHandler.hasInstructorRole or loginHandler.hasVolunteerRole}"
The error I get in Eclipse for the problem one is:
"cannot apply expression operators to method bindings"
Any idea how I should fix this?