In Java we would define static variables to do something like this. Is that the correct approach I can take here as well?
thanks On Wed, Feb 10, 2010 at 11:51 AM, Ashish Khivesara < [email protected]> wrote: > Is there a way to define a global javascript variable in GWT? > I was able to define one in a sample.js file and then read the same using a > JSNI native method. > But was wondering if there is a way to this purely in Java (GWT) . > > My goal is to be able to have a global object that can be shared between > multiple gwt apps which are modules inside the same project. > > Thanks > Ashish > -- 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.
