Hi Tomasz, Many thanks for your sample code. The only thing missing is inherit Json in your application module <inherits name="com.google.gwt.json.JSON" />
Although it compiles and runs the iframe comes out empty. I stepped through the code in debug mode and the element created is shown below: <iframe><html><head></head><body><script type="text/javascript" src="http://ajax.googleapis.com/ajax/static/modules/gviz/1.0/chart.js">{"dataSourceUrl":"location.to.document", "options":{"vAxes":[{"min":null, "title":"Hits", "max":null}], "cat":false, "title":"metrics", "titleX":"Date", "backgroundColor":"#FFFFFF", "legend":"right", "logScale":false, "reverseAxis":false, "hAxis":{"maxAlternation":1}, "hasLabelsColumn":true, "isStacked":false, "width":600, "height":371}, "state":{}, "chartType":"ColumnChart", "chartName":"Chart 1"}</script></body></html></iframe> Inspecting the element in firebug I get the following: <iframe> <html> <head></head> <body></body> </html> </iframe> Any idead what might be going wrong? Thanks, -G -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/SUpfdwPh_d8J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
