-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Or you could make them non-static member fields of your EntryPoint class. You can think of there being an instance of that class around for as long as your app is open in a browser window or tab.
We use that approach in our app here. (Static fields felt to much like globals in this case.) Actually, our EntryPoint class contains a final field of type Context, which is a class we've defined to store all of our client-side state. Lothar Kimmeringer wrote: > joe young schrieb: > >> So what is the best suggestion to store those data, is there something >> like session in client side? > > You can define variables static. This has some effects in hosted mode > if you open more than one window but should work in a browser. > > > Regards, Lothar > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFJv/41rZoE3ArapxERCMPhAJ9zggC2AeNTSWHUxetyBt3DDuzf5wCfe/Io xc7ymU9OscV1ZHqdsA3+1MA= =/Vo9 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
