PDA

View Full Version : Chart is not getting displayed



madhu_g
31 Aug 2009, 2:33 AM
Hi, I am trying to create a chart by using the code available in GXT-samples. i think there is a problem with .swf file. I am getting the following exception when i try to create a chart.

[ERROR] Unable to load module entry point class com.extjs.gxt.samples.ListViewDNDTest.client.ListViewDNDTest (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.swfobject' is null or not an object
number: -2146823281
description: '$wnd.swfobject' is null or not an object
at com.extjs.gxt.ui.client.widget.flash.SwfObject.embedSWT(Native Method)
at com.extjs.gxt.ui.client.widget.flash.SwfObject.embedSWF(SwfObject.java:113)
at com.extjs.gxt.ui.client.widget.flash.FlashComponent.injectFlash(FlashComponent.java:221)
at com.extjs.gxt.ui.client.widget.flash.FlashComponent.onAttach(FlashComponent.java:185)


Can any bode help me out ?

sven
31 Aug 2009, 2:51 AM
You are not including the swfobject.js file in your html page

madhu_g
31 Aug 2009, 3:53 AM
Hi Sven, thanks for the reply. it works now.