Hmmm,, so it should work for existing html, that is loaded from an xml file (so no wrap is needed).
On 26 January 2016 at 23:31, Jens <jens.nehlmeier@gmail.com> wrote:
stupid suggestion but do you sink the events you want to listen for?addDomHandler() automatically sinks the corresponding native event type. You only need to sink events yourself when you override onBrowserEvent() to handle native events without registering a handler using addDomHandler().I know that HTMLPanel.addDomHandler(ClickHandler, ClickEvent.getType()) works as expected as our app uses it. However it does not use HTMLPanel.wrap().-- J.--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/60RGI3WN1W0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment