Re: GWT Cross Site Iframe Linker and Script Tags

2015-09-24 Thread Greg
Hi I know it's an old thread but I used few hours to quickly implement a linker and special entry point class that uses script tags from gwt.xml files and injects them automatically using ScriptInjector. There are few changes required in EntryPoint classes but they are not that intrusive. Coul

Re: GWT Cross Site Iframe Linker and Script Tags

2014-11-06 Thread Etienne Lacazedieu
Well, it was a Code Splitting problem. Both SuperDevMode and DevMode works fine with the new linker. Le mercredi 5 novembre 2014 23:21:22 UTC+1, Etienne Lacazedieu a écrit : > > Hi, > > I'm preparing a big switch (GWT2.3 to 2.6.1, which may change to 2.7.0 > depening on the final release dat

Re: GWT Cross Site Iframe Linker and Script Tags

2014-11-05 Thread Etienne Lacazedieu
Hi, I'm preparing a big switch (GWT2.3 to 2.6.1, which may change to 2.7.0 depening on the final release date), and I'm having trouble with the xsiframe linker.. I have no problems with adding script> tags in the HTML file. Actually, I wrote a linker (a subclass of CrossSiteIframeLinker), whic

Re: GWT Cross Site Iframe Linker and Script Tags

2014-07-16 Thread Thomas Broyer
On Wednesday, July 16, 2014 11:06:43 AM UTC+2, gabriele.prandini wrote: > > This problem is blocking me from use superdevmode > i have many 3th library, also gwt-ext... and gwt-ext have some script tag > on his gwt.xml > so sad :-( > As the error message says: add to your gwt.xml and put all

Re: GWT Cross Site Iframe Linker and Script Tags

2014-07-16 Thread gabriele.prandini
This problem is blocking me from use superdevmode i have many 3th library, also gwt-ext... and gwt-ext have some script tag on his gwt.xml so sad :-( Il giorno lunedì 12 novembre 2012 17:54:58 UTC+1, Thomas Broyer ha scritto: > > > > On Monday, November 12, 2012 4:55:58 PM UTC+1, googelybear wrot

Re: GWT cross-site request

2013-04-13 Thread Alfredo Quiroga
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html Might help Sent from my iPhone On Apr 13, 2013, at 8:36 PM, Robson Braga wrote: > I get it! The following line was missing: > > var script = document.createElement("script"); > > My

Re: GWT cross-site request

2013-04-13 Thread Robson Braga
I get it! The following line was missing: var script = document.createElement("script"); My bad... Em sábado, 13 de abril de 2013 21h27min29s UTC-3, Robson Braga escreveu: > > Hi folks, > > I have a webservice that returns a JSONP. The URL of the webservice is > this: > > http://user:password

GWT cross-site request

2013-04-13 Thread Robson Braga
Hi folks, I have a webservice that returns a JSONP. The URL of the webservice is this: http://user:password@localhost:8080/project/api/clientByEmail?email=u...@domain.com&callback=callback1 The result of that URL is this: callback1({"personId":"1","email":"u...@domain.com","password":"5f4dcc3b5

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
Thank you for your time and informatiom Best Regards.. -- 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/-/iT0jDIhCg5wJ. To post to this group,

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
i found my problem By creating the callback function outside the requestObject() > not like requestObject(new Async...(..) ) *AsyncCallback* abc= new *AsyncCallback* {} and this way i set the object name with the parameter name jsonp.setCallbackParam("json.wrf=abc"); -- You

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
The JS function names seems to be the same this is the request : http://localhost:8080/solr/collection1/select?q=TUR&wt=json&json.wrf= __gwt_jsonp__.P2.onSuccess this is the response : __gwt_jsonp__.P2.onSuccess ({"responseHeader":{"status":0,"QTime":1,"params":{"json.wrf":"__gwt_jsonp__ .P2.o

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Thomas Broyer
On Monday, November 19, 2012 3:40:45 PM UTC+1, Alp Yilancioglu wrote: > > i looked from firebug, Gwt sets a dynamic onSuccess function name to > the parameter name i have set as "json.wrf" which seems okey > > Unfortunetly both , onSuccess and onFailure functuions are not get > called;

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
i looked from firebug, Gwt sets a dynamic onSuccess function name to the parameter name i have set as "json.wrf" which seems okey Unfortunetly both , onSuccess and onFailure functuions are not get called; What should i do at this point? -- You received this message b

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Thomas Broyer
On Monday, November 19, 2012 3:02:08 PM UTC+1, Alp Yilancioglu wrote: > > Hi thanks for the information, > > i have done what you have told, > and here is the code; > unfirtunety unable to recieve the results ? > What do you mean? onSuccess is not called or you don't know what to do with the

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
Hi thanks for the information, i have done what you have told, and here is the code; unfirtunety unable to recieve the results ? Client Side Code; JsonpRequestBuilder jsonp = new JsonpRequestBuilder(); String url = "http://localhost:8080/solr/select?q=TUR&wt=json";; jsonp.set

Re: GWT Cross-site request for autocomplete box

2012-11-19 Thread Thomas Broyer
On Monday, November 19, 2012 12:06:29 PM UTC+1, Alp Yilancioglu wrote: > > Hi > i am trying to create a autosuggest box which take data from my apacge > solr server which is going to be in another domain for production > i just simply need to request a query with the address " > http://localhos

GWT Cross-site request for autocomplete box

2012-11-19 Thread Alp Yilancioglu
Hi i am trying to create a autosuggest box which take data from my apacge solr server which is going to be in another domain for production i just simply need to request a query with the address "http://localhost:8080/solr/select?q=ABC&callback=handleJsonResponse i can get JSON as a result or an

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-16 Thread googelybear
Thanks for the pointer to the ScriptInjector, didn't know that before. It's not that I don't want to update my libraries, but in my case the 3rd party library I am using to include flash content (gwt2swf) seems to be no longer maintained. So I guess I *have* to do it by myself using the ScriptI

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-12 Thread Thomas Broyer
On Monday, November 12, 2012 4:55:58 PM UTC+1, googelybear wrote: > > I have the same error when running the code server and this limitation > effectively prevents me from using superdevmode, as in my case the problem > is with an external library that I include which then uses the

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-12 Thread googelybear
I have the same error when running the code server and this limitation effectively prevents me from using superdevmode, as in my case the problem is with an external library that I include which then uses the

Re: GWT Cross Site Iframe Linker and Script Tags

2012-09-28 Thread Thomas Broyer
On Friday, September 28, 2012 4:36:41 PM UTC+2, skrat wrote: > > This sucks great time, now that devmode plugins have been abandoned > (surprise!), Are you kidding?! Brian spent days (weeks?) releasing the plugin for Firefox 15 (there was more changes from Mozilla's side than for previous rel

Re: GWT Cross Site Iframe Linker and Script Tags

2012-09-28 Thread skrat
This sucks great time, now that devmode plugins have been abandoned (surprise!), and Super Dev Mode was forced onto us, xsiframe became a must, and all the GWT libraries and apps that use script tags are not working anymore. What's wrong with document.write anyway? I'm really angry now with Goo

Re: GWT Cross Site Iframe Linker and Script Tags

2012-08-08 Thread blurk
On Tuesday, July 24, 2012 11:32:56 AM UTC+2, Daniel wrote: > Thanks for the explanation. > I find this very interesting. This means I'll be able to extend > the CrossSiteIframeLinker Linker and overwrite > the fillSelectionScriptTemplate() function to include all required scripts > with sth like

Re: GWT Cross Site Iframe Linker and Script Tags

2012-07-24 Thread Daniel
Thanks for the explanation. I find this very interesting. This means I'll be able to extend the CrossSiteIframeLinker Linker and overwrite the fillSelectionScriptTemplate() function to include all required scripts with sth like document.write() or document.getElementsByTagName("head")[0].append

Re: GWT Cross Site Iframe Linker and Script Tags

2012-07-24 Thread Thomas Broyer
On Monday, July 23, 2012 4:33:01 PM UTC+2, Daniel wrote: > > Hi, > can someone please explain to me the technical details why the xsiframe > Link can not compile GWT apps which load

GWT Cross Site Iframe Linker and Script Tags

2012-07-23 Thread Daniel
Hi, can someone please explain to me the technical details why the xsiframe Link can not compile GWT apps which load

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
thanx On Mon, Jun 18, 2012 at 11:14 PM, Jens wrote: > is the request done by post or get ? >> > > JSONP is always a GET request. > > -- J. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit >

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread Jens
> > is the request done by post or get ? > JSONP is always a GET request. -- J. -- 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/-/8-8M9x-umF4J.

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread kim young ill
is the request done by post or get ? On Mon, Jun 18, 2012 at 9:54 PM, Jens wrote: > Sure you can do the same thing with JsonpRequestBuilder ( > http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html > ). > > -- J. > > Am Montag, 18. Juni 201

Re: GWT cross-site request without JSNI..?

2012-06-18 Thread Jens
Sure you can do the same thing with JsonpRequestBuilder (http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html). -- J. Am Montag, 18. Juni 2012 20:11:53 UTC+2 schrieb Carsten: > > Hi, > > is it possible to do a cross-site request with very

GWT cross-site request without JSNI..?

2012-06-18 Thread Carsten
Hi, is it possible to do a cross-site request with very little JSNI or none at all? I am a beginner and followed this tutorial: https://developers.google.com/web-toolkit/doc/latest/tutorial/Xsite Is it possible to do the same without ever writing native JS code? Cheers, Carsten -- You receiv

GWT Cross Site JSON with https Auth

2011-05-06 Thread simon
Hello, I have to receive some JSON data from a remote server (a Tomcat App. Server), which is only available at https with username and password. All the workarounds to bypass the SOP doesnt support the https authenification. I am well aware that this bring on various security problem, but it is o

Re: GWT + cross site

2009-11-11 Thread John O'Conner
I'm not sure what you mean when you say "any object/data" but yes, when you use cross site GWT, you will inject

GWT + cross site

2009-11-10 Thread acharya....@gmail.com
the client. >From the browser, I want to directly talk to the APIs on machine B without going through A. I have read GWT cross site example -- http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html#request. I am also pretty new to GWT. Does the cross site example work only with JSON or wi