My Oracle Support Banner

My Access Pages: Custom EL Doesn't Evaluate When Returning From A New Tab/switching Tabs (Doc ID 2209347.1)

Last updated on FEBRUARY 25, 2019

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.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.