Hi, You can use AsyncCallback<JsArray<Article>>. JsArray is a subclass of JavaScriptObject representing javascript arrays.
Regards On Sun, Mar 14, 2010 at 5:28 PM, A. Kong <[email protected]> wrote: > Hi, all, > > I would like to use JsonpRequestBuilder to interact with one of my > backend server function. The function returns a list of json object to > the caller. > > However, because JsonpRequestBuilder does not accept an AsyncCallback > of this declaration AsyncCallback<List<Article>>, because the generic > type is bounded to <T extends JavaScriptObject>. > > I wonder what are the possible alternatives? > > Cheers > > -- > 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. > > -- I am but a man. -- 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.
