Tuesday, January 26, 2016

Re: Click even on outer HTMLPanel on existing html ?


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 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