SAP J2EE version 7.0 SP13
NWDS is 7.0.13
I have no problem creating a popup window in Java WebDynpro. However, it seems that the window is not modal. Whtever code follows the call to open the modal window continues to run while the window is open.
The following code is in openSaveMsg() method.
IWDWindow modalWindow ;
IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("SaveMsg");
modalWindow = wdComponentAPI.getWindowManager().createModalWindow(winInfo) ;
modalWindow.setWindowPosition(WDWindowPos.CENTER) ;
modalWindow.setWindowSize(400, 175) ;
modalWindow.setTitle("Do you want to save?") ;
modalWindow.show() ;
Any code that follows openSaveMsg() will execute while the modalWindow is open.
Obviously, there are ways to handle this issue, but I'd like to know how to create a window that's truly modal.