Hi,
I use SmartGWT 2.4, GWT 2.2.0 and trying to make my application switched to Simplicity theme, by adding the #simple at the and of the app url.
In my index.html file I use the following
and in my module-file I use the following rows to attach the themes
It works like a charm on my Windows(XP w.SP3, jdk1.6.0_16, MyEclipse 6.0.1 GA) machine.
But as soon as I do that on Mac with the same project (with all the same jars) I see that some images has the scr pointed not to gif-files as it should be in Simplicity but to png-files that are absent.
For instance: /sc/skins/Simplicity/images/TreeGrid/folder_open.png
instead of /sc/skins/Simplicity/images/TreeGrid/folder_open.gif
Has anybody ever encountered with the same issue? Why that can happen? I saw that some times the {extension} for some image-files is added by the code in some classes but did not found that in theTreeGrid.
Can anybody give me a direction where to find the solution?
Thank you.
I use SmartGWT 2.4, GWT 2.2.0 and trying to make my application switched to Simplicity theme, by adding the #simple at the and of the app url.
In my index.html file I use the following
Code:
<script type="text/javascript"> var currentSkin = "EnterpriseBlue"; if (window.location.hash){ if (window.location.hash == '#simple'){ currentSkin = "Simplicity"; } } document.write("<"+"script src=app/sc/skins/" + currentSkin + "/load_skin.js?isc_version=7.1.js><"+"/script>"); </script>
Code:
<inherits name='com.smartgwt.SmartGwtNoScript'/> <script src="sc/modules/ISC_Core.js"/> <script src="sc/modules/ISC_Foundation.js"/> <script src="sc/modules/ISC_Containers.js"/> <script src="sc/modules/ISC_Grids.js"/> <script src="sc/modules/ISC_Forms.js"/> <script src="sc/modules/ISC_RichTextEditor.js"/> <script src="sc/modules/ISC_Calendar.js"/> <script src="sc/modules/ISC_DataBinding.js"/> <script src="sc/modules/ISC_PluginBridges.js"/> <inherits name="com.smartclient.theme.simplicity.SimplicityResources"/> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/>
But as soon as I do that on Mac with the same project (with all the same jars) I see that some images has the scr pointed not to gif-files as it should be in Simplicity but to png-files that are absent.
For instance: /sc/skins/Simplicity/images/TreeGrid/folder_open.png
instead of /sc/skins/Simplicity/images/TreeGrid/folder_open.gif
Has anybody ever encountered with the same issue? Why that can happen? I saw that some times the {extension} for some image-files is added by the code in some classes but did not found that in theTreeGrid.
Can anybody give me a direction where to find the solution?
Thank you.
Comment