I have my implemented Async class return a RequestBuilder object,
giving it an AsyncCallback as a parameter. Then I call getCallback()
on it but i get a RequestBuilderAdapter which cannot be typecast to
AsyncCallback. I need to be able to gain access to this AsyncCallback
at times. The reason is that I replace the first callback with a
second callback, but in such a way that I want to chain the two
together. Therefore, I need the first callback as AsyncCallback so
that I can access it's onSuccess method and fire it manually.

Does anyone know how I could do this? If I really need to I can try
and change around my design so that I put in the second callback right
away and still do the chaining but that would involve a bunch of if-
elses where I don't want any.
--~--~---------~--~----~------------~-------~--~----~
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