]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixed missing constant
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 26 Nov 2009 07:41:13 +0000 (07:41 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 26 Nov 2009 07:41:13 +0000 (07:41 +0000)
svn changeset:10052/svn branch:event-framework-3234

src/com/vaadin/ui/AbstractComponent.java

index 9a3d84a80361ced8ca190ec7ae98c3be201189f1..550ffbef0b2961ea416d1b5012903477e72d94a5 100644 (file)
@@ -25,7 +25,6 @@ import com.vaadin.terminal.PaintException;
 import com.vaadin.terminal.PaintTarget;
 import com.vaadin.terminal.Resource;
 import com.vaadin.terminal.Terminal;
-import com.vaadin.terminal.gwt.client.EventListenerRegister;
 import com.vaadin.terminal.gwt.server.ComponentSizeValidator;
 import com.vaadin.tools.ReflectTools;
 
@@ -689,10 +688,8 @@ public abstract class AbstractComponent implements Component, MethodEventSource
                 }
 
                 if (eventIdentifiers != null) {
-                    target
-                            .addAttribute(
-                                    EventListenerRegister.REGISTERED_EVENT_LISTENERS_ATTRIBUTE,
-                                    eventIdentifiers.toArray());
+                    target.addAttribute("eventListeners", eventIdentifiers
+                            .toArray());
                 }
 
                 paintContent(target);