wood burning stoves 2.0
The moose likes GWT and the fly likes Call callback inside another one Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Call callback inside another one" Watch "Call callback inside another one" New topic

Call callback inside another one

S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 66
can you please suggest me, how can i call inside of first AsyncCallback after calling on Success, the second AsyncCyllback? i use gwt rpc and load my data into ui, and after calling this first AsyncCallback on Success method i must call another AsyncCallback that execute the next part of the first AsyncCallback
Ankit Garg

Joined: Aug 03, 2008
Posts: 9435

Do you want to make another server side Async call or just call a callback? What issue are you facing with implementing whatever you are doing?

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
han li

Joined: Apr 21, 2015
Posts: 1

Chaining Aysn call is doable in GWT. Not sure why yours does not work.
do you have any sample?

Or try promise to avoid too many chains: https://code.google.com/p/gwtquery/wiki/Promises

No Sweet Without Sweat
I agree. Here's the link: http://aspose.com/file-tools
subject: Call callback inside another one
It's not a secret anymore!