summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Panel.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-15 08:41:45 +0200
committerMatti Hosio <mhosio@vaadin.com>2014-12-15 16:35:54 +0200
commit8eafe7aee31b3e2f80c87b39c4e42e260a86a5eb (patch)
tree93bf9f429390e5643a55f503076a391469359ce2 /server/src/com/vaadin/ui/Panel.java
parent3b75f2b14833f78c00d0032cbd76b09fca058100 (diff)
downloadvaadin-framework-8eafe7aee31b3e2f80c87b39c4e42e260a86a5eb.tar.gz
vaadin-framework-8eafe7aee31b3e2f80c87b39c4e42e260a86a5eb.zip
Do not create default instances while reading designs (#7749)
Change-Id: I26cb6d8d43200d10ebf8c0ac22c538b4272f5ecd
Diffstat (limited to 'server/src/com/vaadin/ui/Panel.java')
-rw-r--r--server/src/com/vaadin/ui/Panel.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/Panel.java b/server/src/com/vaadin/ui/Panel.java
index 5112a732ac..b0242cc32d 100644
--- a/server/src/com/vaadin/ui/Panel.java
+++ b/server/src/com/vaadin/ui/Panel.java
@@ -348,9 +348,8 @@ public class Panel extends AbstractSingleComponentContainer implements
public void readDesign(Element design, DesignContext designContext) {
super.readDesign(design, designContext);
// handle tabindex
- Panel def = designContext.getDefaultInstance(this.getClass());
int tabIndex = DesignAttributeHandler.readAttribute("tabindex",
- design.attributes(), def.getTabIndex(), Integer.class);
+ design.attributes(), Integer.class);
setTabIndex(tabIndex);
}