Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy any GWT theme is not showing in my application, only the standard theme?
    primarykey
    data
    text
    <p>I have the xml module like that:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;module rename-to='sapepass'&gt; &lt;inherits name='com.google.gwt.user.User' /&gt; &lt;inherits name='com.google.gwt.visualization.Visualization'/&gt; &lt;inherits name="com.google.gwt.i18n.I18N"/&gt; &lt;inherits name='com.google.gwt.json.JSON'/&gt; &lt;inherits name='com.google.gwt.requestfactory.RequestFactory'/&gt; &lt;extend-property name="locale" values="es_CO" /&gt; &lt;set-property-fallback name="locale" value="es_CO" /&gt; &lt;inherits name='com.google.gwt.user.theme.chrome.Chrome'/&gt; &lt;entry-point class='co.ibm.spms.sap.epass.client.SAPePass' /&gt; &lt;inherits name="co.ibm.spms.ui.utils.Utils" /&gt; &lt;inherits name="eu.maydu.gwt.validation.ValidationLibrary"/&gt; &lt;source path='client' /&gt; &lt;source path='shared' /&gt; &lt;/module&gt; </code></pre> <p><strong>Html</strong>:</p> <pre><code>&lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt; &lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /&gt; &lt;link rel="icon" href="favicon.ico" type="image/x-icon" /&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="SAPePass.css"&gt; &lt;!-- --&gt; &lt;!-- Any title is fine --&gt; &lt;!-- --&gt; &lt;title&gt;SAP ePass&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="sapepass/sapepass.nocache.js"&gt;&lt;/script&gt; &lt;/head&gt; </code></pre> <p>But when I run de app, the result is that the colors correspond to Standard theme. That because the import of standrd css is after chrome css (<strong>generated html</strong>):</p> <pre><code>&lt;head&gt; &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt; &lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon"&gt; &lt;link rel="icon" href="favicon.ico" type="image/x-icon"&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="SAPePass.css"&gt; &lt;!-- --&gt; &lt;!-- Any title is fine --&gt; &lt;!-- --&gt; &lt;title&gt;SAP ePass&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="sapepass/sapepass.nocache.js"&gt; &lt;/script&gt; &lt;script defer="defer"&gt;sapepass.onInjectionDone('sapepass')&lt;/script&gt; &lt;link rel="stylesheet" href="http://127.0.0.1:8888/sapepass/gwt/chrome/chrome.css"&gt; &lt;link rel="stylesheet" href="http://127.0.0.1:8888/sapepass/gwt/standard/standard.css"&gt; &lt;/head&gt; </code></pre> <p>What can I do?</p> <p>Note:</p> <p>I´m using GWT 2.1.1 Eclipse</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. 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