You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

EL Expression Validation Error for Announcements

Summary:

When we write the following EL on Announcements, we get a validation error.

Content (please ensure you mask any confidential information):


When I want to write this EL with one of the assigned roles, we get a validation error. When I just type the role EL, EL works without any problems.

#{(securityContext.userInRole['ORA_PER_EMPLOYEE_ABSTRACT'] && applcoreBundle.SESSION_LANGUAGE=="Current Session")?true:false}

——————————-

#{ (securityContext.userInRole['ORA_PER_EMPLOYEE_ABSTRACT'])}


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!