In this tutorial, we will see that how to use PopUp component in Oracle ADF. Popup is a secondary user interface that opens on the base of the primary page on some event and is used for designing more interactive applications.
Suppose we want to show a popup on any button click or on any other action, then there is 2 way to do this.
First Method –
1. Drag a PopUp component on the page from Component Palette
2. Now Drag a Button on the page and drag af:showPopupBehavior under the button
3. Select af:showPopupBehavior at page structure, go to property Inspector and select the popup id of Popup that you want to show on button click and set trigger type property
Second Method –
Method to show Popup-
Now we call it on button click and pass the binding of Popup in it
as we have Popup with component binding AddPop then on Button click we call this method as
Cheers 🙂 Happy Learning
An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF