I have * @UiHandler("dialogOk")* * void dialogOk(final ClickEvent event) {* * // do something* * }* * * This is perfectly valid code if dialogOk is within THIS class but how can I add a ClickHandler to a static Widget that is defined in "another" class?
I want to avoid putting this code into "another" class or using the * addClickHandler* method within THIS class. Is there a way around? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/UQJDOxcV8GgJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.