Hi ! You can control event propagation with low-level functions (onBrowserEvent, Event) ; in your case, use the Event.cancelBubble function :
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Event.html#cancelBubble(boolean) 2009/2/5 Danny Schimke <[email protected]> > Hi! > > If I have following problem: I enter some text in a textbox. Now I click on > a button to save data to a database. With leaving the edit ists onChange- > event is called, but the onClick- event of the button is called too at same > the time. Saving is faster than onChange. I tried to handle the onClick > after other events have done their work by using a "DeferedCommand". But is > doesn't work. Saving is allways faster than the onChange. > > Is there a way to control the handling-order of events? > > Thank you! > -Danny > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
