diff options
author | Matti Hosio <mhosio@vaadin.com> | 2014-12-16 14:29:08 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-16 14:22:48 +0000 |
commit | 1bfb901ad434d295f775c2fe34ac2cad4b2924e4 (patch) | |
tree | aea34e8bd9e9edf7a85e0a0e75bce9d903a642e5 /server/src/com/vaadin/ui/TabSheet.java | |
parent | 4db93af2d3f57809e3a9c66d72a398379afc2573 (diff) | |
download | vaadin-framework-1bfb901ad434d295f775c2fe34ac2cad4b2924e4.tar.gz vaadin-framework-1bfb901ad434d295f775c2fe34ac2cad4b2924e4.zip |
Do not write child components in sub templates (#7749)
Change-Id: I7e19e86618bbf27ae3a6e585bab000f26dd8f6d5
Diffstat (limited to 'server/src/com/vaadin/ui/TabSheet.java')
-rw-r--r-- | server/src/com/vaadin/ui/TabSheet.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/TabSheet.java b/server/src/com/vaadin/ui/TabSheet.java index 6bd5ef2221..e4060528ee 100644 --- a/server/src/com/vaadin/ui/TabSheet.java +++ b/server/src/com/vaadin/ui/TabSheet.java @@ -1613,6 +1613,9 @@ public class TabSheet extends AbstractComponentContainer implements Focusable, Attributes attr = design.attributes(); // write tabs + if (!designContext.shouldWriteChildren(this, def)) { + return; + } for (Component component : this) { Tab tab = this.getTab(component); writeTabToDesign(design, designContext, tab); |