on 08-10-2005 3:22 PM
Hello All,
I am trying to create an application which opens in a small window of IE. By small window i mean that the <b>menubar</b> & <b>tool bar</b> etc of <b>Internet Explorer</b> are <b>not available</b> to the user from the <b>start of application</b>.
It is like an <b>applicaion starting in a pop-up</b>.
Is it possible?
Regards,
Aayush
Hi All,
Here Aayush is trying to call a popup window in the Init method of one view.
But he is getting an IE popup and application is terminating.
Question is whats the problem in calling a popup window in the init method of another view ?
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
delete offline content in IE.then popup windows shd work.
After opening the window have a button in the window and onclick on it fire
window.close();
Regards,
Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aayush
I have seen your code. You seem to call the popup window from init method of the view. Generally this is not the method.
You need to call the code what you have written on any action once the view is loaded.
Now what you are trying to do is create a popup window without a parent window :-).
Regards
NagaKishore
Hi Aayash,
You can create a window using the following code. But you cant drag the window
IWDWindowInfo wininfo = wdComponentAPI.getComponentInfo().findInWindows("WD_Group_Details");
IWDWindow myextwindow = wdComponentAPI.getWindowManager().createWindow(wininfo,true);
myextwindow.setWindowPosition(80,150);
myextwindow.setWindowSize(800,200);
( (Window) myextwindow ).setTitle( "Session Details");
myextwindow.open();
Hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
Thanks. I used the following code in wdDoInit method:
IWDWindowInfo wininfo = wdComponentAPI.getComponentInfo().findInWindows("myUIWindow");
IWDWindow myextwindow = wdThis.wdGetAPI().getComponent().getWindowManager().createModalWindow(wininfo);
myextwindow.setWindowPosition(80,150);
myextwindow.setWindowSize(800,200);
( (Window) myextwindow ).setTitle( "Session Details");
myextwindow.open();
But i get the following error:
Internet Explorer cannot open the site http://<hostname>:<port>:/. operation aborted
I need my first view of application to come in a pop-up button & when i click on <b>close</b> button it should close.
Regards,
Aayush
I faced the exact a similar problem in which I was trying to open a pop-up in the wdDoInit, or wdDoModifyView methods of the view. But it gave me an IE "Operation aborted" dump.
Please check /community [original link is broken] messageID=1099475&tstart=0. Read the COMPLETE thread... especially the second last entry. Valery has given the possible explanation for this problem & a perfect workaround ..
And it works absolutely fine too !
regards,
Navneet.
Hi Ayush,
In any event say openwindow() have this code snippet:-
IWDWindow mywindow= wdComponentAPI.getWindowManager.
createExternalWindow(String Url,String Title,Boolean modal);
mywindow.open();
For Eg:-
String Url ="http://www.google.com";
String Title ="Google Window";
Boolean Modal ="true or False";
Note:- As of now only non modal windows are supported.
Hope it helps.
Regards,
guru
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.