Re: Did anybody try Cross site communication?

2010-07-24 Thread V M
Finally, i was able to get it working. Here is the code: *code* Class to class cast JSO public class GeoNames extends JavaScriptObject { protected GeoNames() { } public final native String getPlaceName() /*-{ return this.placeName; }-*/; public final native String getText()

Re: Did anybody try Cross site communication?

2010-07-22 Thread George Georgovassilis
There are some libraries which handly cross site RPC, but they all have one or another drawback. You can read on here [1] [1] http://development.lombardi.com/?p=611 On Jul 21, 2:09 am, VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody had success with Cross

Re: Did anybody try Cross site communication?

2010-07-22 Thread Uberto Barbini
we're doing it putting a servlet on server side that behave as a proxy. So gwt client call servletproxy with a parameter with the wanted url and the servlet reply with the content Uberto On Thu, Jul 22, 2010 at 12:02 PM, George Georgovassilis g.georgovassi...@gmail.com wrote: There are some

Re: Did anybody try Cross site communication?

2010-07-22 Thread rajendra dasari
Yah I am working on cross site communication using JSON, we are passing response from server using JSON response, and getting from client as JSON objects. -- Raj. On Wed, Jul 21, 2010 at 5:39 AM, VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody had success

Re: Did anybody try Cross site communication?

2010-07-22 Thread V M
Hello All, After looking to couple of examples. I figured out it's not actually cross domain causing the issue, but parsing the JSON response. Here are 2 formats i got from public APIs A. http://twitter.com/statuses/user_timeline/twitter.json?callback=callback1 B.

Did anybody try Cross site communication?

2010-07-21 Thread VM
Hello GWT Users, I just wanted to check if anybody had success with Cross domain communication. I followed Google documentation: http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html handl...@com.google.gwt.sample.stockwatcher.client.stockwatcher::handleJsonResponse(Lcom/

Re: Did anybody try Cross site communication?

2010-07-21 Thread cokol
if you just tried to get the example working, maybe you mistyped something? On 21 Jul., 02:09, VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody had success with Cross domain communication. I followed Google documentation:

Re: Did anybody try Cross site communication?

2010-07-21 Thread Peter Simun
If you want to use GWT RPC you can use separate client - server architecture using acris. You can find more details here: http://code.google.com/p/acris/wiki/SeparateClientAndServer Peter On 21. Júl, 02:09 h., VM thinker...@gmail.com wrote: Hello GWT Users, I just wanted to check if anybody