Hi there, Can someone tell me *Why* when an event is fired, the source is changed? public void fireEvent(GwtEvent<?> event) { // If it not live we should revive it. if (!event.isLive()) { event.revive(); } Object oldSource = event.getSource(); // why....? event.setSource(source); try { firingDepth++;
registry.fireEvent(event, isReverseOrder); } finally { firingDepth--; if (firingDepth == 0) { handleQueuedAddsAndRemoves(); } } if (oldSource == null) { // This was my event, so I should kill it now that I'm done. event.kill(); } else { // Restoring the source for the next handler to use. event.setSource(oldSource); } } 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 google-web-tool...@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.