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 not Working with Custom Role

Accepted answer
72
Views
16
Comments

Summary:

EL Expression not Working with Custom Role

Content (please ensure you mask any confidential information):

We wanted to make the "Worker Type" field as editable for the users who are associated to the recruiter roles. For all others, this field should be displayed as read-only.

Tried with the following EL expression, which is not working as expected. Here '****_IRC_RECRUITER_JOB' is a custom recruiter role.

#{!securityContext.userInRole['****_IRC_RECRUITER_JOB']}

Version (include the version you are using, if applicable):

24A

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!