summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>2011-12-22 12:52:13 +0000
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>2011-12-22 12:52:13 +0000
commitb8f9716602d8107542f0bba9b75ee440c38267a3 (patch)
tree9de64dee0a4f4b73a89088005a466f169fa3e692
parentd10b1c6f226ef761ea4a77e517c093b5ea7084eb (diff)
downloadvaadin-framework-b8f9716602d8107542f0bba9b75ee440c38267a3.tar.gz
vaadin-framework-b8f9716602d8107542f0bba9b75ee440c38267a3.zip
Fix #8170: Window.attach() did not call attach() for subwindows
svn changeset:22471/svn branch:6.7
-rw-r--r--src/com/vaadin/ui/Window.java11
1 files changed, 11 insertions, 0 deletions
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();
+ }
+ }
}