Creating a Menu Popup in Oracle APEX Using Custom Attributes
Step-by-Step: Creating a Menu Popup in Oracle APEX Using Custom Attributes
Follow these steps to create a popup menu that appears when a button is clicked.
Step 1: Create a List in Shared Components
Go to App Builder → Shared Components → Lists
Click Create
Add your menu items (e.g., Home, Reports, Settings, Logout)
Save the list
This list will be the source of your popup menu.
Step 2: Add a Button and List to a Page
Open the page where you want the popup menu
Add a Button (e.g., label it Menu)
Add a List Region (region type = List)
Link the List region to the list you created in Step 1
The list items will be displayed when the button is clicked.
Step 3: Assign a Static ID to the List
Select the List Region in the Page Designer
Go to Advanced → Static ID
Enter a name, for example:
cust
The Static ID will be used to target this list in your popup.
Step 4: Add a Custom Attribute to the Button
Select the button you created
Go to Advanced → Custom Attributes
Add the following attribute:
data-menu="cust_menu"
This links the button to the menu list. The
data-menuattribute will be used by APEX to show the popup when clicked.
4. Change the behavior of the button to Defined by Dynamic Action
Step 5: Save and Run
Save your changes
Run the page
Your popup navigation menu is now ready and will appear when the button is clicked.




Comments
Post a Comment