Skip to Content
0
Former Member
Feb 12, 2007 at 01:53 PM

Creating a Window

31 Views

Hi,

I am working on creating a pop up window in WebDynpro application. This window is not an external Window, just a pop up that displays a WebDynpro View. I have discovered that the createWindow() method is deprecated. Can someone shed some light on how to create a pop up?

Deprecated Code:

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("DefaultValueSelectWindow");

IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);

window.setWindowPosition(WDWindowPos.CENTER);

window.setWindowSize(50, 150);

window.open();