Skip to Content
0
Former Member
Dec 21, 2007 at 02:26 PM

Problem when trying to use IWDWindow

16 Views

Hello all,

I am trying to get a popup window. After searching the forum, and using the tutorials, I use the following code:

// get the repository content at runtime of the Web-Dynpro-

// Window “ICONummerWindow”

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

//create the “ICONummerWindow”

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

//set the WindowPosition on the screen

window.setWindowPosition(300, 150);

//and show the window

window.open();

// Save WindowInstance in Context

wdContext.currentPopupElement().setWindowInstance(window);

However, I get the following error messages:

IWDWindowInfo cannot be resolved or is not a type

IWDWindow cannot be resolved or is not a type

How can I solve this?

TIA,

Jaron Frenk