Re: Creating new methods for Async class

2009-10-21 Thread ylmz
I did this and it work perfectly QueueResult processActions(String user,QueueAction actionQueue) when I implemented it I had a lot of problem due to serializable interface. and it is very hard to catch. On Oct 20, 9:03 pm, Sudeep S sudee...@gmail.com wrote: try doing ListString clients = new

Re: Creating new methods for Async class

2009-10-21 Thread Trevis
Not to complicate matters but using ArrayList instead od List supposed to be better in gwt? I could have sworn that ray ryan alluded to this in his presentation. I still don't do it because I hate seeing that in my code but still, ymmv On Oct 20, 1:03 pm, Sudeep S sudee...@gmail.com wrote:

Re: Creating new methods for Async class

2009-10-21 Thread Paul Robinson
(1) The problem with the OP's code was that he had the getClients() method in the async class take an AsyncCallbackString but the non-async interface returned an ArrayListString. If you want to return an ArrayList of strings, then the callback should have been AsyncCallbackArrayListString (2)

Re: Creating new methods for Async class

2009-10-20 Thread Sudeep S
I am doing something like * public* *interface* UtilService *extends* RemoteService { MapString, MapString, RateCard[] fetchdata (Customer objCustomer); } * public* *interface* UtilServiceAsync { * void* fetchData(Customer objCustomer ,AsyncCallbackMapString, MapString, Card[] callback); }

Re: Creating new methods for Async class

2009-10-20 Thread Sudeep S
try doing ListString clients = new ArrayListString(); instead of ArrayListString clients = new ArrayListString(); On Tue, Oct 20, 2009 at 11:31 PM, Sudeep S sudee...@gmail.com wrote: I am doing something like * public **interface* UtilService *extends* RemoteService { MapString,