Hi all

I am currently writing a small GWT app with the aim that it can be
used on various domains.

I have followed the following two very good guides:

http://code.google.com/support/bin/answer.py?answer=65632&topic=11368

and

http://www.gwtsite.com/how-to-access-web-services-with-gwt/

Taking the second as an example I have implemented the ability to post
to a remote server and this is working ok.

But its not firing the onRequestComplete in the way that GWT would for
a normal RPC call.

The interface is specified as:

package com.gwtsite.client.util;

import com.google.gwt.core.client.JavaScriptObject;

public interface JSONRequestHandler
{
        public void onRequestComplete( JavaScriptObject json );
}


And I call post the JSON call as:

JSONRequest.get( "http://socialgraph.apis.google.com/lookup?
&q=bradfitz.com&pretty=1&fme=true&callback=",
                               new JSONRequestHandler() {
                                     public void
onRequestComplete( JavaScriptObject json )
                                     {
                                           // do something here
                                     } );

But I never hit the request complete? Am I doing something wrong on my
server end or am I missing some key idea?

Regards,

eggsy
--~--~---------~--~----~------------~-------~--~----~
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