on 08-04-2006 11:12 PM
Hi Friends,
I am looking for How to develop Modal window.
I got a tutorial for Popup, but not for modal window.
By saying Modal, I mean that suppose user is on a view and clicks a link , user will see another screen which is modal window. If user clicks close on Modal window, then control will come back to main screen.
Nav
I dont know if you have looked at this API.
Check this might be helpful.
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nav,
Us the following code to cretae model window:
IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("Popup");
IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
wdContext.currentContextElement().setWindowInstance(window);
window.setWindowPosition(WDWindowPos.CENTER);
window.open();
if you set modal to true you will create WD specific window in same browser window
If you set modal to false you will create new browser window.
See this thread also will help ful:
Kind Regards,
S.Saravanan.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.