I have a problem with several GWT modules on one page which all try to register a keydown handler on the page body element.
The problem seems to be that only one GWT module can call RootPanel.get() which will be perform a DOM.setListener() on the body.
The second call of RootPanel.get() from another model will overwrite the body.__listener so that com.google.gwt.user.client.impl.DOMImpl#getEventListener
doesn't work anymore for all GWT modules (of course because the connection between dom and widget was overwritten)
My current solution is to add all handler for the body element using JSNI which is a little bit ugly!
So other / better ideas?
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.