I understand the turducken model that but I not suggest the linked implementation because the gwt compiler in that way will produce redundant code in each module and this can cause some problems at runtime of js code. I suggest to use a global js object and reference it trough a native jsni method. Using window.post is a specific way to reuse a global JS object and obtain a messaging mechanism with a single call and without the problems I see in re-writing the bus as a gwt module. With gwt 2.8 this problem is solved with jsinterop.
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@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Post a Comment