From b8f9716602d8107542f0bba9b75ee440c38267a3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Dahlstr=C3=B6m?= Date: Thu, 22 Dec 2011 12:52:13 +0000 Subject: [PATCH] Fix #8170: Window.attach() did not call attach() for subwindows svn changeset:22471/svn branch:6.7 --- src/com/vaadin/ui/Window.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/com/vaadin/ui/Window.java b/src/com/vaadin/ui/Window.java index 5f6c29f182..661174ca85 100644 --- a/src/com/vaadin/ui/Window.java +++ b/src/com/vaadin/ui/Window.java @@ -2380,4 +2380,15 @@ public class Window extends Panel implements URIHandler, ParameterHandler, } } + /** + * Notifies the child components and subwindows that the window is attached + * to the application. + */ + @Override + public void attach() { + super.attach(); + for (Window w : subwindows) { + w.attach(); + } + } } -- 2.39.5