From 970b9f272357a389abb7cc7e0e35f07c42d9e7ac Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Thu, 26 Nov 2009 07:41:13 +0000 Subject: [PATCH] fixed missing constant svn changeset:10052/svn branch:event-framework-3234 --- src/com/vaadin/ui/AbstractComponent.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/com/vaadin/ui/AbstractComponent.java b/src/com/vaadin/ui/AbstractComponent.java index 9a3d84a803..550ffbef0b 100644 --- a/src/com/vaadin/ui/AbstractComponent.java +++ b/src/com/vaadin/ui/AbstractComponent.java @@ -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); -- 2.39.5