on 12-21-2007 2:26 PM
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
Hi
Organize imports Right click -> select source -> select Organize imports
or
do this
Ctrl+ Shift+O
regards
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.