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
Execute focexec
 Login/Join
 
Gold member
posted
hi Smiler

does anyone know how i can run a focexec without actually opening a new window.

for example. i need to create a hold file on page load of an hml page. but i dont want a new fex window to open up.

can i do it?


~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~||~~~
PROD: WebFOCUS 7.1.3 on Win 2K/IIS 6/ISAPI Mode/Self-Serve Apps Only (No App Server)
TEST: WebFOCUS 7.1.3 on Win 2K/IIS 6/Weblogic 8.1/Servlet Mode
 
Posts: 74 | Location: Gaithersburg, MD | Registered: August 08, 2006Report This Post
<Tim Howard_ABCBS>
posted
You should be able to make a call using ajax methods in javascript. By doing it this way, you can load the page and call the focus code asyncronously through an ajax object and the focus code will just run in the background. If you would like some sample code, let me know and I'll send you some.

Tim H.
 
Report This Post
Virtuoso
posted Hide Post
Ajax is a very good method, one that I use extensively. You could, if you don't want to use ajax though, run a a pre-processing page, which will then run the focexec and call the html page through a -HTMLFORM call.
Pre-processing page:
<html>
<head>
<script langauge="javascript">
location.href="your url to run processing focexec goes here";
</script>
</head>
<body>
<p>
Page Loading message here perhaps.
</p>
</body>
</html>

Processing page:
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD
END
-HTMLFORM myOriginalHtmlPage


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Expert
posted Hide Post
Zu. where is your html page?
are you running from a self-serve site (under the inetpub\wwwroot) or from mre?
if its mre
put this tag in your head of your launchpage

or might work for you.
if its from a selfserve site, it depends on whether you have a frame structre, or you're just launching from a url link? tell me more and ill give you more code, it will be a target statement , within the FORM tag, referencing a frame name .




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders