Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread gregor
Have you tried: public interface MyService extends RemoteService { ListTempDTO getNames(); } public class MyServlet extends RemoteServiceServlet implements MyService { public ListTempDTO getNames() { ListTempDTO rs = new ArrayListTempDTO(); TempDTO dto1 =

Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread HT(dk)
Read: http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideSerializableTypes And in general read: http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideRemoteProcedureCalls On Dec 13,

Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread gregor
It's odd that the RPC documentation still talks about typeArgs. I've just double checked, and I have systematically removed all typeArg statements relating to RPC parameters/return values from the last project I upgraded to 1.5.3. All now replaced with 1.5. syntax and it works fine. My

Problem with GWT RPC call with List of DTO objects

2008-12-13 Thread Cris
Hi My requirement is as below. 1. I have a DTO as below with setters and getters for the same package com.gwt.sample.client.data public class TempDTO implements IsSerializable { private String name; private String condition; } 2. My RPC stuff is as below package