iobts / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

gwt and smartgwt integration #425

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
gwt-visualization-1.1.0

Detailed description:
My project it's a gwt (2.0.4) project and it's based on smartgwt (2.2) user 
interface container, well the integration between gwt and smartgwt work very 
fine, for example there is a smartgwt container that contains
pie chart as com.google.gwt.visualization.client.visualizations.PieChart (js 
library was loaded using google.load('visualization', '1', {'packages' : 
['piechart']}),
but recently, after upgrading to 
com.google.gwt.visualization.client.visualizations.corechart.PieChart (js 
library was loaded using google.load('visualization', '1', {'packages' : 
['corechart']}), com.google.gwt.visualization.client.visualizations.PieChart 
was deprecated, the UI don't work fine, appears "this.Ob is not an object" 
intead the pie, for verify the behavior I have integrated in my project latest 
visualizationshowcase project and the effect is the same.
In other words
com.google.gwt.visualization.client.visualizations.PieChart integrated in 
smartwgt work fine
but
com.google.gwt.visualization.client.visualizations.corechart.PieChart
don't work,
and any chart in com.google.gwt.visualization.client.visualizations.corechart.* 
don't work.
using any chart in com.google.gwt.visualization.client.visualizations.* any 
chart work very fine.
Tanks in advantage, any aid is appreciate.

Workaround if you have one:

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by vlui...@tiscali.it on 15 Oct 2010 at 12:21

GoogleCodeExporter commented 9 years ago
Does the problem occur on all browsers?  

Are you getting this error in development mode? Production Mode?

Is that all you have for the stacktrace of the problem?  Try it again compiling 
with --style PRETTY so we can see the real name of this.Ob

Does the VisualizationShowcase demo in the current trunk work for you?  It uses 
the com.google.gwt.visualization.client.visualizations.corechart.* classes.  So 
if that works,  the next step for you to start commenting out some code in your 
app to see if you can isolate the problem further.  

Do you have to include smartgwt for it to fail?  

Annotating your report with a small code example demonstrating the problem 
would be best way to move forward. 

Original comment by zundel@google.com on 16 Oct 2010 at 10:42

GoogleCodeExporter commented 9 years ago
Other users of SmartGWT are reporting a similar issue:

http://code.google.com/p/smartgwt/issues/detail?id=405

Original comment by zundel@google.com on 16 Oct 2010 at 10:50

GoogleCodeExporter commented 9 years ago
SmartGWT users, there has been an update to SmartGWT that may resolve this 
issue.  See: http://code.google.com/p/smartgwt/issues/detail?id=405

Original comment by zundel@google.com on 4 Mar 2011 at 6:56

GoogleCodeExporter commented 9 years ago
Issue 426 has been merged into this issue.

Original comment by zundel@google.com on 4 Mar 2011 at 6:57

GoogleCodeExporter commented 9 years ago
Issue 445 has been merged into this issue.

Original comment by zundel@google.com on 4 Mar 2011 at 6:57

GoogleCodeExporter commented 9 years ago
Fixed with the latest version of smartgwt.

Original comment by zundel@google.com on 7 Mar 2011 at 11:05

GoogleCodeExporter commented 9 years ago
Thanks works very fine, thanks again, you are giving me a precious help.

Original comment by vlui...@tiscali.it on 9 Mar 2011 at 3:21

Attachments: