File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Reply locked New topic
Author

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 and load data from db into ui:



i get no exceptions, that second asynccallback doesnt work, cant load the data
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3681
    
  16
This appears to be the same question as you asked here


Joanne
S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 66
yes, i did it like in sample that i posted, and the first asynccallback is work and i can get the data from db, but the second asynccallback doesn't do anything
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Call callback inside another one