How to create popup link in OAF dynamically or declaratively.

Step 1: Create an OAPopupBean. For example:

OAPopupBean popupBean =(OAPopupBean)createWebBean(pageContext,POPUP_BEAN,null,”myPopup”);
//Set the following properties on the pop-up:
String popupRegion= “/oracle/apps/fnd/framework/toolbox/labsolutions/webui/TestEmpDetailsRN” ;
popupBean.setType(EMBEDDED_POPUP); /* Embedded type */

Step 2: Select the item (messageStyledText, image, link, or button) on which you want to enable the pop-up, and set the following properties, as shown in this example:

OATableBean tableBean = (OATableBean)webBean.findChildRecursive(“ResultsTable”);
OAImageBean image = (OAImageBean)webBean.findChildRecursive(“UpdateImage”);

Step 3: Add the pop-up as an indexed child of the region that contains the item on which the pop-up is enabled.

Note: If you are enabling a pop-up on an item within a classic table, advanced table or HGrid, then you must add the pop-up and the item on which it is enabled to a layout and add the layout as the indexed child of the table.

In this example, the pop-up is enabled on an image within a table, hence the pop-up is added as a second level indexed child of the table:

OAStackLayoutBean stackLayoutBean = new OAStackLayoutBean();

Source from


About pacesettergraam

A good and realistic person

Posted on December 9, 2013, in OAF, Oracle and tagged , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: