View Single Post
  #29  
Old 20th Mar 2012, 05:12
rottem rottem is offline
Registered Developer
 
Join Date: Aug 2011
Posts: 33
Default

I am working with SmartGwt 3.0
The development console says:
SmartClient Version: 8.2/LGPL Development Only (built 2011-12-05)

The problem happens in IE8 and not in FF10

My project.gwt.xml contains the following code
Code:
  <inherits name="com.smartgwt.SmartGwt"/>
  <inherits name="com.smartgwt.tools.SmartGwtTools"/>
  <inherits name="com.smartgwt.Drawing"/>
  <inherits name="com.smartclient.theme.graphite.Graphite"/>
my project.html contains the line
Code:
<script type="text/javascript" language="javascript" src="gwttest/gwttest.nocache.js"></script>
the generated gwttest.nocache.js loads the smartgwt javascript files in the following order
Code:
	ISC_Core.js
	ISC_Foundation.js>
	ISC_Containers.js
	ISC_Grids.js
	ISC_Forms.js
	ISC_RichTextEditor.js
	ISC_Calendar.js
	ISC_DataBinding.js

	/sc/skins/Graphite/load_skin.js
the problem happens because in the file ISC_Forms.js
there is the following line
Code:
(isc.Browser.isIE?isc.Canvas.spacerHTML(1600,100):"&nbsp;")
This line is called when loading the ISC_Forms.js. At this time, the skin has not been initialized yet. It will be initialized only after all the smartGwt scripts are initialized.
Therefore the blank.gif is not found.

If the order was changed so that the skin is loaded immediately after the ISC_Core.js then the problem would be solved

Please solve this
Thanks
Reply With Quote