on 09-24-2008 8:18 AM
Hi ,
How to hide the window. ????
Thanks
Risha
Hi,
Following is the code to do this
IWDWindow window; // Your existing window instance
window.hide();
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following is the code to hide the window.
IWDWindowInfo info=(IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("CopySelected");
IWDWindow win=wdComponentAPI.getWindowManager().createModalWindow(info);
win.hide();
Here "CopySelected" is window name.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Risha
In web dynpro for java there is one interface named
"IWDWindow".
First create the reference of that window just like
IWDWindow window;
then there is one method called hide() just like
window.hide();
From this u can hide window
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Risha,
Here is the code to close or hide the window using
findinWindow method.
IWDWindowInfo windowInfo = null;
IWDWindow window =null;
windowInfo = (IWDWindowInfo) wdComponentAPI.getComponentInfo).findInWindows("<<WindowName>>");
if(windowInfo!=null)
{
window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
}
window.hide();
Hope, this will satisfy your requirement. Close the thread if it is done.
Regards
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi!
you can hide your window using following code
IWDWindow window = wdContext.currentPopupElement()
.getWindowInstance();
window.destroyInstance();
thanks
vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to close the open window,
window.destroy();
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
-Sorry for reposting
Edited by: Ashutosh Moharir on Sep 24, 2008 3:23 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use window.destroyInstance() to remove window.
-Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.