Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to close a blank window opens with Maintain app

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] How to close a blank window opens with Maintain app
 Login/Join
 
Member
posted
We have HTML & JavaScript to launch Maintain application. I got some help from one of the posts from Francis in this forum to remove toolbar from the browser window, but now a blank window opens up with the application. Does anybody know the code to close blank window without getting browser warning?

Thanks,
Jeeva

This message has been edited. Last edited by: Kerry,


Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
 
Posts: 26 | Location: Michigan | Registered: July 13, 2005Report This Post
Virtuoso
posted Hide Post
Jeeva,

It might help us if you could specify what happens just a bit more clearly.
Do you mean that your maintain opens in a new window, but that there is alo a second window opened? Or do you mean to say that after the maintain closes, the window does not close but is emptied?

If the first, please post your html & javascript code.
If the second, please search this forum for 'maintain close ie' and you'll find the appropriate information.

Hope this helps ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Member
posted Hide Post
Thank you GamP. It is the first one, Maintain app opens in a new window but also the first window(emptied) remains open. HTML & JS code as below.


<script language=JavaScript>
randomNum = Math.random();
sURL = "/ibi_apps/WFServlet?IBIF_cmd=MNTCON+EX+startbookorder&IBIS_connect=on&IBIAPP_app=maintain&IBIC_server=EDASERVE&num=" + randomNum;
vFeatures =
"menubar=yes,toolbar=no,status=yes,resizable=yes,scrollbars=yes" +
"left=0, top=0, width=" + screen.availWidth + ", height=" + screen.availHeight;
vTarget = window.open(sURL, "vTarget", vFeatures);
vTarget.focus();




Production WebFOCUS 7.6.2, Platform Win2003, Database Oracle 10g
 
Posts: 26 | Location: Michigan | Registered: July 13, 2005Report This Post
Platinum Member
posted Hide Post
Jeeva,

It looks like you are opening the second, blank, window with your JS code

vTarget = window.open(sURL, "vTarget", vFeatures);

I think you need to remove it from your URL and add the vFeatures code to the onload event code of your Maintain, to control the menubar.

Do a search for 'Maintain onload' to find how to do that.


Regards,
Dave

http://www.daveayers.com

WebFocus/Maintain 7.6.4-8
on Win2000 and 2003 Server
 
Posts: 165 | Location: Detroit Metro | Registered: September 17, 2003Report This Post
Gold member
posted Hide Post
Is it possible to control window features when a window is already open? As far as I can tell, if your code didn't open the window then you can't control the window features. Javascript can control the features of windows it opens, like Jeeva has shown above, but not the features of the window that is containing the code.

-Bryan


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] How to close a blank window opens with Maintain app

Copyright © 1996-2020 Information Builders