I am having problem with GWT RPC in the following scenario.
I have a service:
public interface MyService extends RemoteService {
public MyResult getMyResult(MyParam param);
}
with corresponding Async version and Impl version. MyParam class
contains ArrayList<MyItem>:
public class MyParam implements Serializable {
private ArrayList<MyItem> items;
public MyParam() {
}
public MyParam(ArrayList<MyItem> items) {
this.items = items;
}
public ArrayList<MyItem> getItems() {
return items;
}
public void setItems(ArrayList<MyItem> items) {
this.items = items;
}
}
public class MyItem implements Serializable {
}
When I invoke getMyResult(new MyParam(new ArrayList<MyItem>()))
everything works fine and the execution reaches the Impl class on the
server. But if I invoke getMyResult() with non-empty list of items the
request is never posted to the server and there is no exception in the
log.
Any help will be greatly appreciated.
Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---