Focal Point
[SOLVED] "Loading..." message in HTML

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

November 13, 2009, 09:52 AM
Mark1
[SOLVED] "Loading..." message in HTML
Hey,
I have a frame on my HTML layout that displays output from a fex when the HTML program is run. The fex takes a few seconds to run and I would like to have a message that says "Loading..." in the frame while the fex is running in the background. Anybody done this before? Thanks!

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


Windows version 768
November 13, 2009, 10:00 AM
GamP
If you do a search on the forum for this, I'm sure you'll find more than enough threads. So, yes, someone has done this before. And it is not really very hard to do either.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
November 13, 2009, 10:19 AM
susannah
you'll launch a fex that contains a redirect statement, the redirect executes the report, whereas the launched fex contains a 'wait' statement.
Do you want an example?
-* take these parms from your inputscreen or wherever you get them
-DEFAULT &VALUE2 = 'SOMEVALUE';
-DEFAULT &DISPLAYUSER = 'you';
-*
-HTMLFORM BEGIN
<html>
<head>
<META HTTP-EQUIV="Refresh"
CONTENT="1  ;
URL=/ibi_apps/WFServlet?IBIF_webapp=/ibi_apps&|IBIC_server=EDASERVE&|IBIWF_msgviewer=OFF
&|IBIAPP_app=myapp&|&|IBIMR_drill=X,mydomain/mydomain.htm
&|IBIF_ex=myreportfex&|CLICKED_ON=&|MYPARM1=VALUE1&|MYPARM2=&VALUE2">
</head>
 
<body    TOPMARGIN="0">
<table width="100%" height="*" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0" >
 <tr >
   <td valign="middle" align="center" style="padding-top: 150">
  <div id="second"  >
  <i>
<font face="Verdana, Arial, Helvetica, sans-serif" color=BLUE
 style="letter-spacing: 3; font-size:8.5pt;">
<BR />

eFinance is loading the default Budget Spread for   &DISPLAYUSER  . . . </font></i>
  </div>
</TD></TR>
</table>
</body>
</html>
-HTMLFORM END

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




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
November 13, 2009, 11:09 AM
Mark1
Thank you for your help, Susannah!


Windows version 768