I have a maven project which uses GWT 2.8, JsInterop and Elemental 2.
When I launch the CodeServer from Eclipse the event listeners are not triggered. When I launch the codeserver from maven (I'm using tbroyer's plugin) it works fine.
What could be causing this ? It's like my EventListeners are being compiled out.
For example I have very simple code in my UiBinder View class:
searchButton.addEventListener("click", (EventListener) e -> getUiHandlers().onSearch());
Where searchButton is a elemental2.HTMLElement properly injected with UiBinder.
My application works fine when starting the codeserver from maven, but not when using the eclipse plugin.
The event listener is never triggered.
Any idea what could be causing this ?
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