Show pop up Window...
My Requirement is that..i have some input fields, when the user fill the input fields and press SAVE button, a pop up window should appear saying "ARE YOU SURE", just like in windows, please tell me how can i do this in Web dynpro java.
Thanks and Regards
Aishwarya Sharma replied
Create a new window and embed new view inside it.. in the view you can add the message that you want to dispaly.
In the view controller of you main window, create an action like button click and write the following code:
IWDWindowInfo windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("WindowName"); IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo); window.setWindowSize(300,300); window.show(); wdContext.currentNewWindowElement().setWindowInstance(window);