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     how do you display a wait cursor using report in HTML Layout Painter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how do you display a wait cursor using report in HTML Layout Painter
 Login/Join
 
Member
posted
Using HTML Layout Painter (version 7.1.4), I have 4 reports displayed on one web page, which will be viewed with internet explorer version 6.0.2900.2180. The HTML Layout Painter put each report in an seperate iframe. It can take up to 60 seconds for all four reports to get populated. Does anyone know how to get a wait cursor to display in a report square (or iframe)while it is blank and waiting to get populated? A second question is can anyone direct me to a uers manual for HTML Layout Painter? Thanks in advance!


WebFocus Version = 7.1.4
OS.Platform = Windows XP 5.1
Expected OUtput = HTML, Excel and PDF
 
Posts: 13 | Registered: July 23, 2007Report This Post
Expert
posted Hide Post
Hi patjohnson,

Please review this topic:

retrieving data please wait

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
Thanks to all who offered advice and suggestions. The solution that worked for me was to modify the window_onload() function that the HTML Layout Painter automatically generates. My iframes have the id of report1, report2, report3 and report4. The code below puts a message saying "Processing..." in each iframe and changes the cursor to an hourglass while the data is being generated. As each iframe is populated, the message is replaced and the cursor is automatically changed back to a pointer.


function window_onload() {
report1.document.write("

 

 

Processing...

");
report2.document.write("

 

 

Processing...

");
report3.document.write("

 

 

Processing...

");
report4.document.write("

 

 

Processing...

");
report1.document.body.style.cursor = 'wait' ;
report2.document.body.style.cursor = 'wait' ;
report3.document.body.style.cursor = 'wait' ;
report4.document.body.style.cursor = 'wait' ;
UpdateData();
}

I also modified the submit button OnClick event with the same 8 lines of code before the OnExecute(ctrl) function that the HTLM Layout Painter automatically generates so that the user is notified data is being processed after (s)he has submitted a new request for data.


WebFocus Version = 7.1.4
OS.Platform = Windows XP 5.1
Expected OUtput = HTML, Excel and PDF
 
Posts: 13 | Registered: July 23, 2007Report This Post
Expert
posted Hide Post
Pat, would you mind putting your code between
[code]
[/code]
tags so that we can see the code. As well, please check the "Disable HTML" check box from the Options area of the Reply window.

Thanks.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
We always try to avoid users have to wait.....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
Good to know about the "disable HTML" option; thanks!! Here's my second try at showing code with the Disabled HTML checked.

function window_onload() {
    report1.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report2.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report3.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report4.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report1.document.body.style.cursor = 'wait' ;
    report2.document.body.style.cursor = 'wait' ;
    report3.document.body.style.cursor = 'wait' ;
    report4.document.body.style.cursor = 'wait' ;
    UpdateData();
}


Our submit button id = button6; the HTML Layout Painter automatically created the button6_OnClick(ctrl) fucntion and here is my modified version

function button6_OnClick(ctrl) {
    report1.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report2.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report3.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report4.document.write("<p> </p><p> </p><H4></>Processing...</I></H4>");
    report1.document.body.style.cursor = 'wait' ;
    report2.document.body.style.cursor = 'wait' ;
    report3.document.body.style.cursor = 'wait' ;
    report4.document.body.style.cursor = 'wait' ;
    OnExecute(ctrl)
}


WebFocus Version = 7.1.4
OS.Platform = Windows XP 5.1
Expected OUtput = HTML, Excel and PDF
 
Posts: 13 | Registered: July 23, 2007Report 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     how do you display a wait cursor using report in HTML Layout Painter

Copyright © 1996-2020 Information Builders