Hi i added one of the skins from the showcase example. The project with the skin is compiled successfully . From firebug i can see that the skin is loaded, but there is no visual effect, in fact if there is on applied css and skin the rendering is very ugly and unfriendly. How to fix that?
You haven’t provided any information so its hard to assist. Why don’t you compare why you’ve done with the SmartGWT Showcase source (the module file, and the host html file) and see what you’re doing differently.
Note that you need to be using GWT 1.5.3. GWT 1.6RC1 changed the default location on the host html file for which some changes are requires. You can star this issue to get notified when its resolved.
Sanjiv
How to load the skins and css?
Well, i added this to my gwt.xml
<inherits name=“com.smartclient.theme.silverwave.SilverWave”/>
<inherits name=‘com.google.gwt.user.theme.standard.Standard’/>
And in the html for the entrypoint:
<head>
<meta http-equiv=“Content-Type” content=“text/html; charset=UTF-8” />
<link rel=“stylesheet” href=“/css/smartgwt.css”>
<head>
…
<script>var isomorphicDir = “gwt.BrazierControl/sc/”</script>
<script type=“text/javascript” language=“javascript” src=“/js/ts/2/gwt.BrazierControl/gwt.BrazierControl.nocache.js”></script>
<DIV id=“braziercontrol”></DIV>
I checked the gwt compilation result and it contains “sc” and “gwt/standard” dirs, but when i go to the page in web mode i got ugly grid(see the file), and even the second column of the grid is not showing. I checked with firebug, and the js from the skin called, but nothing happened.