hi Thomas, Thanks a bunch, that idea really works for me. Awesome.
Kudos.
Hey Deepak, I have not yet worked on RequestBuilder - but after seeing
the javadoc, with very little knowledge, I am guessing this might be
what you are looking for - you need to write the code here -
RequestBuilder's
Hey Vikky,
You may be right that it's not possible in GWT. It would actually make
sense that you get two different instantiations.
If both the server and the client had the same instance, you could
technically change something on the server, and see it on the client
without sending it back,
Hello all, I am new to GWT programming! Here is the problem that I am
trying to solve since two days.
I have the following
service package : a server side service which interacts with db and
gets data and stores the data in the shared package class
shared package : a shared class which
Some code will be useful, especially the singleton class.
Also, when/how are you getting the data? One potential problem I can
see happening is the client code accessing the data before the server
sets the values in the singleton class.
Tom
On Aug 18, 2:24 am, vikky8118 vikky...@gmail.com
Hi Thomas, thank you very much for your reply.
I have made sure that client code is trying to access only after the
service has populated data into the single-ton class. I am trying to
access data from client in the onSuccess method AsyncCallback class of
the service which does the actual
Hi
Hi Vikky,
I also face one similar problem.
I have done cross-domain call using RequestBuilder in client package. My
problem is how to make sure to access the data only after the request
callback has completed. I have both the RequestBuilder class and the class
accessing the data of callback