From: Artur Signell Date: Tue, 28 Feb 2012 13:38:52 +0000 (+0200) Subject: #8448 Re-added registration of event listeners which was removed in previous commit X-Git-Tag: 7.0.0.alpha2~418 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c46959c5eb2f1ce99f32a579485db4e13bf02db;p=vaadin-framework.git #8448 Re-added registration of event listeners which was removed in previous commit --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/RootConnector.java b/src/com/vaadin/terminal/gwt/client/ui/RootConnector.java index a484e0eac7..fd49fb1cb2 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/RootConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/RootConnector.java @@ -33,6 +33,11 @@ public class RootConnector extends AbstractComponentContainerConnector { @Override public void updateFromUIDL(final UIDL uidl, ApplicationConnection client) { + ConnectorMap paintableMap = ConnectorMap.get(getConnection()); + // register the listened events by the server-side to the event-handler + // of the component + paintableMap.registerEventListenersFromUIDL(getId(), uidl); + getWidget().rendering = true; getWidget().id = getId(); boolean firstPaint = getWidget().connection == null;