My Access Pages: Custom EL Doesn't Evaluate When Returning From A New Tab/switching Tabs

(Doc ID 2209347.1)

Last updated on NOVEMBER 30, 2016

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


When the Expression on the Disable Property of "Remove Roles" button is modified to disable the button using a custom managed bean, it gets enabled again upon refreshing the page. Initially it shows as disabled, but when the user navigates back to the Roles tab, it is enabled again.

Use Case

1. Login to Self Service Console. Create a sandbox. Select any user to display user details. Click Customize.

2. Modify the Disable property of "Remove Roles" button to disable it using a custom managed bean as shown below:

#{(oimcontext.currentUser.roles['SYSTEM ADMINISTRATORS'] == null or oimcontext.currentUser.adminRoles['OrclOIMSystemAdministrator'] == null) and (backingBeanScope.CustomRoleAccessControlBean.disableRoleRevokeButton or pageFlowScope.MyAccessRolesBean.removeDisabled)}

3. Create a role and and assign it to an user.

4. Go to Roles tab of the user details page.

5. The "Remove Roles" button is Disabled.

6. Click "Request Roles" button. This opens up a new tab. Close this tab.

7. The Roles tab is active again. Notice the "Remove Roles" button is Enabled which is wrong.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms