Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Show pop up Window...

Hi Experts,

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

Upendra Agrawal

replied

Hi Upendra,

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);

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question