PDA

View Full Version : Chart Issue



stan229
11 May 2009, 10:06 AM
Hey,
So I'm trying to add a chart to my GXT app. Nothing special, I did all the steps I believe I need to do:
In the .gwt.xml:
<inherits name="com.extjs.gxt.charts.Chart" />

In the html:
<script language='javascript' src='flash/swfobject.js'></script>

Note: I copied over the /resources/ dir to my /public/ in GWT.

The GXT.jar is located in my /WEB-INF/lib

Everything GXT related is working as expected except for the charts.
When I try to instantiate Chart I get the following error:
[TRACE] Loading module 'chart'
[ERROR] Unable to find 'chart.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

Any advice or assistance will be more than welcome.

Thanks,
Stan

jpnet
11 May 2009, 1:29 PM
You mentioned "public"... are you using GWT 1.6?

-JP

stan229
11 May 2009, 3:52 PM
yes i am actually
using it with the old war structure via Cypal studio.. works perfectly other than this little charting issue

Hina
9 Jun 2009, 8:18 PM
Hi,
Could you tell me if you find the sol of this problem. I am also facing the same prob.

stan229
10 Jun 2009, 6:06 AM
Yes, what I did was move it to the folder /public/gxt/chart/...
instead of how I had it beofre iwth /public/chart/...