on 06-29-2007 2:13 PM
Hi Friends,
I have created view for dialog box(not window).. This view should be displayed in a modal dialog window.....
so How to display modal dialog using view....
Please send me the steps....
Thanks & regards
Mathi s
Create a window, say "DialogWindow", in the IDE and embed the view in it.
In a controller method, access the window manager for the component, create and open the window:
IWDWindowManager winMgr = wdComponentAPI.getWindowManager();
IWDWindowInfo info = wdComponentAPI.getComponentInfo().findInWindows("DialogWindow");
IWDWindow dialogWindow = winMgr.createModalWindow(info);
dialogWindow.show();
Additionally, you might want to store the window instance in a context attribute to be able to close/destroy it from another controller method.
Armin
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 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.