Hi Tomasz,

and thanks again for your guidance.

I had partial success but only after a made few changes. Running the above 
code throws an exception

com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read 
property 'document' of null 

which is probably related to what you mentioned, that the document may not 
be available (i am using latest version of chrome). 

So I made a few changes, instead of adding addDomHandler... I override the 
onLoad(), so initFrame is called like this,

@Override
protected void onLoad() {initFrame(userConf);}

And the output is:

<html>
 <head></head>
 <body>
   <script>{userconf....}</sctipt>
 </body>
</html

But still I get not graph.. shoudnt the script tag be added on the head 
element?

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/-/mAq3w8BgGh0J.
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.

Reply via email to