Hi,

I just tried serializing data using ListDataProvider.getData();
Which returned a RPC exception, because this would return a ListWrapper 
implements List<T>.

And as the gwt ListWrapper does not implement Serializable itselft, this 
fails.

Thus, what is best extracting the data to a serializable list? Create a new 
ArrayList > addAll() > and then serialize?

List<Foo> serializeList = new 
ArrayList<Foo>().addAll(listDataProvider.getData());

Could I do better?

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


Reply via email to