I created one simple program to test the UIHandler annotation from the tutorial.
@UiHandler("button") void handleClick(ClickEvent e) { Window.alert("Hello, AJAX"); } But this event is not getting triggerred when i click on the button. Any clues ? public class HelloWorld extends Composite { interface HelloWorldUiBinder extends UiBinder<Widget, HelloWorld> { } private static HelloWorldUiBinder uiBinder = GWT.create(HelloWorldUiBinder.class); @UiField Button button; @UiHandler("button") void handleClick(ClickEvent e) { Window.alert("Hello, AJAX"); } public HelloWorld() { initWidget(uiBinder.createAndBindUi(this)); } } } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.