JsonpRequestBuilder onFailure

2010-06-23 Thread randasin
I just start using JsonpRequestBuilder.  I understand for the most
part what to return for a successful response,  but under what
circumstances is AsyncCallback.onFailure method invoked?  In other
words, what should I return in my JSON response (on the server side)
to indicate a failure?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: JsonpRequestBuilder onFailure

2010-06-23 Thread randasin
nevermind just found the API

http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/jsonp/client/JsonpRequestBuilder.html#setFailureCallbackParam%28java.lang.String%29

On Jun 23, 9:42 am, randasin r4nd7...@gmail.com wrote:
 I just start using JsonpRequestBuilder.  I understand for the most
 part what to return for a successful response,  but under what
 circumstances is AsyncCallback.onFailure method invoked?  In other
 words, what should I return in my JSON response (on the server side)
 to indicate a failure?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.