diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 23:21:49 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-16 13:22:35 +0000 |
commit | 6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7 (patch) | |
tree | 6c7bebfa4286bf0d0f1ef38aeb8688a007d2ce13 /server/src/com/vaadin/ui/AbsoluteLayout.java | |
parent | 9bc83cdce75d39ae8c3c7e07f20b006111c193b6 (diff) | |
download | vaadin-framework-6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7.tar.gz vaadin-framework-6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7.zip |
Do not remove children in read to ensure @DesignRoot reading works
properly (#7749)
Change-Id: I8a3111e7007911adfd97c15373b634b2c57f5cd5
Diffstat (limited to 'server/src/com/vaadin/ui/AbsoluteLayout.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbsoluteLayout.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/AbsoluteLayout.java b/server/src/com/vaadin/ui/AbsoluteLayout.java index 47ebdd12cd..aac544ae18 100644 --- a/server/src/com/vaadin/ui/AbsoluteLayout.java +++ b/server/src/com/vaadin/ui/AbsoluteLayout.java @@ -684,8 +684,6 @@ public class AbsoluteLayout extends AbstractLayout implements public void readDesign(Element design, DesignContext designContext) { // process default attributes super.readDesign(design, designContext); - // remove current children - removeAllComponents(); // handle children for (Element childComponent : design.children()) { Attributes attr = childComponent.attributes(); |