Thursday, April 24, 2014

Re: Loading gwt-script from other site to run x-site

Tanx, I will try that.

Den torsdagen den 24:e april 2014 kl. 12:14:18 UTC+2 skrev Thomas Broyer:
To enable cross-site loading, just use the CrossSiteIframeLinker: add the following line to your gwt.xml:

<add-linker name="xsiframe"/>

Note: this will be the default in GWT 2.7.

On Tuesday, April 22, 2014 12:51:12 PM UTC+2, Clundahl wrote:
Hi folks

I have a case where I am supposed to develop a script that should be placed on a central 'script-site'. This program should then be incorporated on various other sites (loading it x-site-style). 

What it does, or rather should do?: It searches the page it is incorporated into for the occurence of a certain tag (marked with a certain css-class) then uses properties (id) from that tag to open a remote x-site call to yet another site for jsonp-data and then displays that data onto the page. 

I have been doing some initial testing with gwt for this. Yet i am not certain exatly how to do it. Does anybody have a good example of this or an article describing this (I have googled a bit but havent found anything matching this)?


Kind regards

Clundhal

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment