Hi,

I am using GWT 2.0.3 and I've got a problem with saving data received
from a Remote Procedure Call. The method i use looks like this:

String[] localData;

RPC.getInstance().getData(new AsyncCallback<ArrayList<String[]>>() {
        @Override
        public void onSuccess(ArrayList<String[]> result) {
                localData = new String[result.size()];
                for(int i = 0; i < result.size(); ++i){
                        localData[i] = result.get(i)[0];
                }
        }
        ...

The problem when this method is called, it doesn't fill localData with
data, but when i try to print the Strings in a Dialog box it does
work. Has anyone else have had a problem like this before and can tell
me how to solve this?
Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to