This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes GWT and the fly likes Wrong output for the list of data 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
Bookmark "Wrong output for the list of data" Watch "Wrong output for the list of data" New topic
Author

Wrong output for the list of data

S Roberts
Ranch Hand

Joined: Dec 06, 2013
Posts: 65
on each object i get the list of elements on my gwt ui that the data that i populate ui with, and i get only on the last object the list of elements in ui, but want to get it for each object object, can you suggest me what am doing wrong? I add all the objects from first and second callbacks into panel at the end, must i do it in another place? (first asynccallback for the object and the second for the element into this objects)

Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

I might be wrong here, but it seems like you've declared first as an instance variable instead of a local variable. Can you declare it within the for loop and try?


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
wood burning stoves
 
subject: Wrong output for the list of data