membersound
unread,Feb 15, 2013, 10:25:38 AM2/15/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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?