summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractComponent.java
diff options
context:
space:
mode:
authorMatti Hosio <mhosio@vaadin.com>2014-12-17 15:17:58 +0200
committerVaadin Code Review <review@vaadin.com>2014-12-17 13:55:17 +0000
commit39edc4b3acf6b4596abf799705b1087b109e10ef (patch)
treedd1864a40fd1833f98622ee16225f6226859e567 /server/src/com/vaadin/ui/AbstractComponent.java
parent6d75a89e8d16e0fd1370fe080a5b5b78d1f4679d (diff)
downloadvaadin-framework-39edc4b3acf6b4596abf799705b1087b109e10ef.tar.gz
vaadin-framework-39edc4b3acf6b4596abf799705b1087b109e10ef.zip
Do not write immediate to design if component is immediate by default (#7749)
Change-Id: Ia79844498c9f6ebc715d15039f7db8441e3565b9
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractComponent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java
index 5b7492dbdb..8517c216e3 100644
--- a/server/src/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/com/vaadin/ui/AbstractComponent.java
@@ -1225,7 +1225,8 @@ public abstract class AbstractComponent extends AbstractClientConnector
}
// handle immediate
if (explicitImmediateValue != null) {
- design.attr("immediate", explicitImmediateValue.toString());
+ DesignAttributeHandler.writeAttribute("immediate", attr,
+ explicitImmediateValue, def.isImmediate(), Boolean.class);
}
// handle locale
if (getLocale() != null