It would probably be best to write some form of message handler tied to a common API. Basically just call a JSNI method in onModuleLoad that checks whether something like $wnd.MyMsgHandler is present. If not, build it. I figure it would accept functions to callback and messages to send to the registered callbacks. Then you can build on top of that.
On Mar 1, 2:34 am, Alex Hlinski <[email protected]> wrote: > Hi. > I develop portlet use GWT, actually i have more then one nocache.js on > the same page. > My question is how can we organise communication between 'modules', > actually how can we organise communication between different > nocache.js files? > Maybe we can create something like 'global' HandlerManager for page. > HandlerManager, as event bus in one GWT module, works fine, but it > this approach doesn't work when we have more than one nocache.js. > > Thanks -- 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.
