cancel
Showing results for 
Search instead for 
Did you mean: 

Is it necessary to create a seperate window for a pop up view

Former Member
0 Kudos

Hi Experts,

Is it necessary to create a seperate window for a pop up view? I don't want to create a seperate window for a pop up view. As I don't want to make much changes in the present program logic.

My only problem is following code. This code finds out the window. So I have to create a seperate window for a seperate pop up view.

I am wondering if there is any API or the same API which can allow me to call the view instead of window

IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Popup");
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.show();

Please help.

Regards,

Gary

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

If your pop up contains view then you will have to make a separate window to load the view to be shown in pop up

Regards

Suresh

Former Member
0 Kudos

Hi Experts,

That's fine. Now I have a pop up view. In the pop up view, I have a button called 'Go to Page 1'. When I am clicking on it how we can route the user to 'Page 1'. I have to suppress the pop up and route the user.

Please help.

Regards,

Gary

Former Member
0 Kudos

Hi

On OK button's action you can Destroy the window and navigate to Page1.

Go through this link for more details and a step by step guide for creation of pop ups and dialog boxes

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903fed0d-7be4-2a10-cd96-913670737...

Hope it works

Regards

Suresh

Answers (0)