Focal Point
[CLOSED] show a progress bar while loading data in html page

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/312106563

February 09, 2010, 02:19 AM
Sripad
[CLOSED] show a progress bar while loading data in html page
In our deployment of WebFOCUS we frequently present a set of chained list boxes for the user to select variables. At times these list boxes are large and/or may require several seconds to retrieve the data for population. During the time the list boxes are populating the user interface is ‘locked’ with no indication to the user that activity is underway behind the scenes. In order to advise the user that the application is really working during this delay (and not ‘frozen’), we would like to present some form of animated indicator (e.g., a rotating progress bar) that is initiated when the list box population begins and ends when the HTML page is open for further user input . However, our research to date (including a review of prior Focal Point postings) has not been successful. Suggestions would be greatly appreciated

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


WebFOCUS 7.6.4; Windows XP ; Html,Pdf,Excel and Ahtml
February 09, 2010, 03:49 AM
Jean-Pierre
quote:
Originally posted by Sripad:
During the time the list boxes are populating the user interface is ‘locked’ with no indication to the user that activity is underway behind the scenes.


Hi Sripad,

you can follow the population progress in the status-bar of your browser. It changes from "Retrieving data..." to "Populating controls..." and finally to "Done populating".

But I agree with you that it is a nice idea to show an animated indicator while the population is in progress. I'm also interested in any suggestions.

Greetz
JP


-----
WebFOCUS 7.6.4 on Windows Server 2003 with Oracle DB / MS SQL Server
February 09, 2010, 06:38 AM
Madasabear
I use a redirect page where we point to a fex which has some basic HTM code
and references a spinning disc GIF an example of which is below.

Hope this makes sense,
Paul

  
-HTMLFORM BEGIN
<html>
<head>
<META HTTP-EQUIV="Refresh"
CONTENT=" 0 ;URL=/ibi_apps/WFServlet? IBIF_ex=morning_report_curr_pdf.fex">
</head>
<body >
<table width="100%" height="*"
style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0" >
 <tr >
<td valign="middle" align="center" style="padding-top: 100">
 


<IMG id=image1 style="Z-INDEX: 1; LEFT: 150px; POSITION: absolute; TOP: 40px" tabIndex=1 src="//cgpt-dwsp01/approot/lldata/web/loading.gif" border=0 name=image1 originalHeight="332" originalWidth="332" rtFileName="loading.gif">


 
</TD></TR>
</table>
</body>
</html>
-HTMLFORM END



Developer Studio Release : 7.6.11
February 09, 2010, 07:38 AM
David Glick
Release 7.6.10 has this built in. Until the page fully loads, you get an animated GIF and the words, "Loading, please wait".


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
February 09, 2010, 03:25 PM
Waz
If you don't have 7.6.10, then somewhere on this forum is an example.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!