Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I don't really know about mobile apps but in a GWT app, the javascript is loaded into a html page inside a script tag:</p> <pre><code>&lt;!-- --&gt; &lt;!-- This script loads your compiled module. --&gt; &lt;!-- If you add any GWT meta tags, they must --&gt; &lt;!-- be added before this line. --&gt; &lt;!-- --&gt; &lt;script type="text/javascript" language="javascript" src="application/application.nocache.js"&gt;&lt;/script&gt; </code></pre> <p>If you want anything to appear before the loading of the javascript is done, just put it on that page as html. example: </p> <pre><code>&lt;!-- --&gt; &lt;!-- The body can have arbitrary html, or --&gt; &lt;!-- you can leave the body empty if you want --&gt; &lt;!-- to create a completely dynamic UI. --&gt; &lt;!-- --&gt; &lt;body&gt; &lt;!-- OPTIONAL: include this if you want history support --&gt; &lt;iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"&gt;&lt;/iframe&gt; &lt;!-- RECOMMENDED if your web app will not function without JavaScript enabled --&gt; &lt;noscript&gt; &lt;div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"&gt; Your web browser must have JavaScript enabled in order for this application to display correctly. &lt;/div&gt; &lt;/noscript&gt; &lt;!-- Loading indicator --&gt; &lt;div id="loading"&gt; &lt;div class="loading-indicator"&gt; &lt;img src="images/loadingStar.gif" width="40" height="40" /&gt;Application Name&lt;br /&gt; &lt;span id="loading-msg"&gt;Loading...&lt;/span&gt;&lt;/div&gt; &lt;/div&gt; &lt;!-- --&gt; &lt;!-- This script loads your compiled module. --&gt; &lt;!-- If you add any GWT meta tags, they must --&gt; &lt;!-- be added before this line. --&gt; &lt;!-- --&gt; &lt;script type="text/javascript" language="javascript" src="application/application.nocache.js"&gt;&lt;/script&gt; </code></pre> <p></p> <p>Here, a div tag puts a loading gif on the page that appears until all the gwt javascript has been loaded. You can put anything you want on that page before loading the javascript.</p> <p>Then in your application, (on module load) replace the content of the rootpanel with your application !!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload