my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 61
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: 9291
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wrong output for the list of data
 
Similar Threads
Call callback inside another one
Get the data for UI
GWT Where is the uploaded String saved?
Calling multiple methods from RPC servlet
RPC fails after working couple of times.