Hi,

I searched about this problem for a long time. Sorry If I've missed
the answer from the archives.

This problem can be reproduced from the "Google Web application
project" code stub : If you change the method
closeButton.addClickHandler by setting the focus to "nameField"
instead of "sendButton" like this :

                // Add a handler to close the DialogBox
                closeButton.addClickHandler(new ClickHandler() {
                        public void onClick(ClickEvent event) {
                                dialogBox.hide();
                                sendButton.setEnabled(true);
                                nameField.setFocus(true);
                        }
                });

Then the key up event (used to simulate the click on the
dialogBox.closeButton) is propagated to the nameField widget and
executed again.

Does someone know a way to handle this problem ?

Thanks.

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