Focal Point
[Closed] Suppress Loading message page

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

July 03, 2012, 05:26 PM
Francis Mariani
[Closed] Suppress Loading message page
In HTML Composer, you can suppress or change the html page that displays a "Loading" message - this is done via the Loading screen property for the body tag.

I have an HTML Composer page with several hyperlinks that point to an iframe on the same page. The hyperlinks execute external procedures. When I click on a hyperlink, I get the "Loading" screen before the result is displayed - I don't want this behaviour here. How do I control this "Loading" screen when it doesn't have anything to do with the body tag?

Thanks,

This message has been edited. Last edited by: Francis Mariani,


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
July 03, 2012, 06:12 PM
Francis Mariani
It looks like the following occurs:

All HTML Composer pages contain this code:

<SCRIPT id=IBI_loader type=text/javascript>
doBeforeLoad();
</SCRIPT>

This function is located in "C:\ibi\WebFOCUS77\ibi_html\javaassist\ibi\html\js\ibirls3.js" and calls function startLoadingSplash.

I set up a test.

I created one HTML page (test1.htm) that is the custom Loading screen.

I created a second HTML page (test0.htm) where the "Loading screen" property points to test1.htm.

Since both HTML pages were created in HTML Composer, the function "doBeforeLoad" is called twice, once by each HTML page.

For one you get startLoadingSplash displaying the default Loading screen, for the other, you get startLoadingSplash displaying the custom Loading screen!!!

Of course you only want one Loading screen, so, lesson 1: create the custom Loading screen from outside HTML Composer.

Also, in my test, test1.htm displays, then the Loading screen displays (test0.htm), then test1.htm displays again!

This message has been edited. Last edited by: Francis Mariani,


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
July 03, 2012, 06:52 PM
Francis Mariani
Seems like I have to set the "Loading screen" property to "Not Set" all over the place...


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
July 05, 2012, 02:25 PM
Mighty Max
I ran into this problem awhile back. The original custom html pages with embedded iframes were developed in 7.6x. In the test 7.7x all the iframes stopped working because the "Loading Please Wait" page was blocking the iframes from loading. Only way I could fix this was to add loadingscreen="none" to every body tag in the application. I had to edit around 100 html and fex files. The fex files had -HTMLFORM in them. Who wants to edit every single file just to disable something? Which is why I requested a NFR to give the option to disable the loading screen globally. Also I was pointed to http://techsupport.information...om/sps/71752543.html.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files