On Wednesday, March 16, 2011 2:43:02 PM UTC+1, doles wrote:
>
> You are being blocked by sop. Single origin policy. 
>
> To go around u have 3 options.
> 1. Setup a redirect servlet in ur UI app that fetches remote data and 
> serves to client.
>

See http://code.google.com/p/google-web-toolkit/issues/detail?id=3131
 

> 2. Write native js in gwt to dynamically write out a script tag on your 
> HTML. This is like jsonp. 
>

See 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/jsonp/client/package-summary.html
 

> 3. Deploy the online app - ur data source - on your dev environment.
>
…and use the -noserver mode of the DevMode: 
http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's
 
I'd go with option #3 if possible, and option #1 otherwise.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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