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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Close (exit) Button
 Login/Join
 
Member
posted
Is there a way in Resource Layout to have a button that closes the current web page? I've searched and searched...
 
Posts: 9 | Location: Topeka | Registered: June 13, 2004Report This Post
Virtuoso
posted Hide Post
If your using version 7.x, then create a button and use the onClick event:

self.close();

or use the javascript:

window.opener = self;
window.close();

to prevent IE from prompting you to close the html window.
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
We are using 5.XX. Frowner
 
Posts: 9 | Location: Topeka | Registered: June 13, 2004Report This Post
Expert
posted Hide Post
Well, this is is a stupid solution, but it works!

I tried setting up a button in DevStudio 5.3.2 with URL

javascript:window.close();
That did not work.

So here's a solution:

Create an html file called closer.htm with the following contents:

<html><br /><body onLoad="opener.close();self.close();"><br /></body><br /></html>
Make the URL for the Close button in your Resource Layout procedure the following:

http://localhost/approot/test/closer.htm
(Of course, substituting localhost for your server name)

The idea is that you provide DevStudio a valid URL that is an HTML page that, upon loading, closes the window and itself.

You, unfortunately do get an IE popup asking you if you want to close the window.
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Hey! That works pretty good. Smiler
 
Posts: 9 | Location: Topeka | Registered: June 13, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders