Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Maybe you can try this and please comment if it works or not;</p> <p>I'll only send html file to you. You could design according to your code. How this is woking. There is a div element including "loading". When the page lads first simple html loaded and loading text will be displayed. After html file loaded your nocache.js file will start(still your seeing loaidng text). After js file loaded onmoduleload script will start(still text loading seen) and after the all widgets created and your panels etc ready. Try below code and remove "loading" text from screen;</p> <pre><code>com.google.gwt.user.client.Element loading = DOM.getElementById("loading"); DOM.removeChild(RootPanel.getBodyElement(), loading); </code></pre> <p>proje.html;</p> <pre><code> &lt;!doctype html&gt; &lt;!-- The DOCTYPE declaration above will set the --&gt; &lt;!-- browser's rendering engine into --&gt; &lt;!-- "Standards Mode". Replacing this declaration --&gt; &lt;!-- with a "Quirks Mode" doctype may lead to some --&gt; &lt;!-- differences in layout. --&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt; &lt;!-- --&gt; &lt;!-- Consider inlining CSS to reduce the number of requested files --&gt; &lt;!-- --&gt; &lt;link type="text/css" rel="stylesheet" href="&lt;proje&gt;.css"&gt; &lt;link rel="stylesheet" type="text/css" href="resources/css/gxt-all.css" /&gt; &lt;!-- --&gt; &lt;!-- Any title is fine --&gt; &lt;!-- --&gt; &lt;title&gt;&lt;Proje&gt;&lt;/title&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="&lt;proje&gt;/&lt;proje&gt;.nocache.js"&gt;&lt;/script&gt; &lt;/head&gt; &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; &lt;/div&gt; &lt;/noscript&gt; &lt;div align="center" id="loading"&gt; &lt;table style="height:600px;" border="0"&gt; &lt;tr height="100%"&gt; &lt;td align="center"&gt; &lt;b&gt;Loading...&lt;/b&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;div id="main" style="display:none"&gt; &lt;table border="0" width="100%" height="100%" align="center" cellspacing="0"&gt; &lt;tr&gt; &lt;td colspan="2" width="100%" id="ustMenuPanel"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr height="100%" valign="top"&gt; &lt;td id="menuPanel" width="20%"&gt;&lt;/td&gt; &lt;td id="modulPanel" width="80%"&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    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. This table or related slice is empty.
    1. VO
      singulars
      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