Hello all,

I have a question about GWT, I am currently developing an application with 
it and mostly everything has been working great!

BUT!

I have started utilizing the Shared Package but am running into an issue 
that I am not sure what I am doing wrong.

In my Shared Package a have a SharedDataClass with a HashMap that I load 
with String name keys and a custom Object into the Map on the Client Side 
when things are initialized. From the Client Side all of the data in the 
Map in the Shared Package works correctly and is accessible as needed. But 
I also try to access the data in this Map from the Server side and it seems 
to be able to access the Map but the data I load into it from the Client 
side never seems to make it into the Map that the Server Side can access...

I have read that the Shared Package is really on the Client Side which 
makes sense, and I see how there may be another Map instantiated on the 
Server Side but if so the data is never put in the Map that the Server Side 
can access.

Any ideas what I am doing wrong, I think I understand the problem I am 
having but I am not sure the correct practice and how I am supposed to 
properly implement something like this?

I am thinking I might just need to place the actual HashMap on the Server 
Side and then just get it for all of the Client needs?

I guess another more general question is what all should I put in the 
Shared Package and what will I end up having to put on the Server Side?

Please let me know and many thanks!

Josh

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to