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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 65
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: 3502
    
  13
This appears to be the same question as you asked here


Joanne
S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 65
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