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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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