I'm trying out GWT 2.0 and in a GWTTestCase I wrote

   lv.loginButton.click();

and "lv" is a LoginView, where I defined:

   loginButton = new Button("Log in");
    loginButton.addClickHandler(new ClickHandler() {
      public void onClick(ClickEvent event) {
        loginCallback.onSuccess(null);
      }
    });

I set loginCallback appropriately, but the code there doesn't get
executed. If I execute the callback's onSuccess method directly, it
works, but it doesn't work if I try the click( ) way.

Is this a bug of mine or a bug of GWT 2.0? The LoginView works
perfectly well in development mode, so the code itself is not at
fault. Of course, I have known myself to be at fault...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to