Hi, > Looking at your code, the class would be available at "blah.WebUI", but > you'd have to create a new instance before your can call your method, and > given how you initialize it you'd have to call onModuleLoad before that. > Maybe if you make your method and all the fields 'static' that'd work; > either that or move the initialization in the class constructor (and maybe > use another class as the EntryPoint to avoid a double initialization). >
Thanks for the pointer, it works! I can do the following in JS: x = new blah.WebUI(); x.onModuleLoad(); x.runAndGetRegisters(); I don't know how I missed it. :) Again, thanks a lot for the pointer. Cheers, Andrea -- You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
