PDA

View Full Version : Does Ext GWT 2.x support Charts in GWT 1.7?



Mike Jacobs
30 Jul 2009, 9:42 AM
I have been using Ext GWT for portals, grids, etc. Works great. I recently upgraded to GWT 1.7 (along with Google App Eng 1.2.2 and the latest Eclipse plug-in if that matters) and gave Ext GWT Charts a try. I don't know if my upgrade is the issue or what, but even though my Java code compiles with Chart related code, the entry point containing the code cannot be loaded by the server.

I am away from the development machine (so I am paraphrasing the errors), but the server error message indicates that it cannot find the source for the chart, axis, column model, etc classes. It suggests that the module is not inheriting a missing module. I verified that I have a GXT inherit tag in my application xml. Since other portions of Ext GWT work for me and (I am assuming) all of the chart stuff is also in the same gxt.jar, I am confused why this does not work.

Does Ext GWT 2.x completely work in GWT 1.7?

Thanks,
Mike

sven
30 Jul 2009, 9:44 AM
Why not doing what it suggest? ;)


<inherits name='com.extjs.gxt.charts.Chart' />

SimoneM
28 Sep 2009, 6:46 AM
Hi,

I have the same problem with the charts, i'm using GWT 1.7 and EXT GWT 2.0.1

i tried also the inherit tag you suggested:
<inherits name='com.extjs.gxt.charts.Chart'/>

but it doesn't work :\

The rest of EXT GWT works fine...any ideas?

sven
28 Sep 2009, 7:08 AM
It hsould work. Make sure you are also inclusing the swfobject.js javascript file.

Arno.Nyhm
28 Sep 2009, 8:15 AM
@SimoneM:

check out this little tutorial from HerrB

What you need to get Chart working
http://www.extjs.com/forum/showthread.php?t=80428&highlight=chart+swfobject

SimoneM
28 Sep 2009, 11:29 PM
Thanks a lot, it was really helpful :)