summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractComponent.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-18 10:34:16 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-18 09:12:30 +0000
commit9f98c3e1ba3a3e4249ac388a2d38c05a5349404d (patch)
treec4336ce53bf3c73be1cca378a4fd10ac1b997149 /server/src/com/vaadin/ui/AbstractComponent.java
parente55c287f8ff72037ea5cdf59c57f1128949811a9 (diff)
downloadvaadin-framework-9f98c3e1ba3a3e4249ac388a2d38c05a5349404d.tar.gz
vaadin-framework-9f98c3e1ba3a3e4249ac388a2d38c05a5349404d.zip
Minor declarative API improvement (#7749)
Change-Id: Id5b11b27e7750085d30d2fa592b124ae474d6e9a
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractComponent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java
index a41d1b4056..46ad9a9c16 100644
--- a/server/src/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/com/vaadin/ui/AbstractComponent.java
@@ -922,11 +922,11 @@ public abstract class AbstractComponent extends AbstractClientConnector
Attributes attr = design.attributes();
// handle default attributes
for (String attribute : getDefaultAttributes()) {
- if (!design.hasAttr(attribute)) {
- continue;
+ if (design.hasAttr(attribute)) {
+ DesignAttributeHandler.assignValue(this, attribute,
+ design.attr(attribute));
}
- DesignAttributeHandler.readAttribute(this, attribute, attr);
}
// handle immediate
if (attr.hasKey("immediate")) {