diff options
author | John Ahlroos <john@vaadin.com> | 2015-09-10 14:09:32 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2015-09-25 12:15:37 +0300 |
commit | 5e9209421ce92e16531299c8c4be5fdd412bb513 (patch) | |
tree | a45264968949607b4111c99390933dadd3bf575c /server/src/com/vaadin/ui/ProgressBar.java | |
parent | ccad63a4aa12a00016ac29c5b612f6f59edc379b (diff) | |
download | vaadin-framework-5e9209421ce92e16531299c8c4be5fdd412bb513.tar.gz vaadin-framework-5e9209421ce92e16531299c8c4be5fdd412bb513.zip |
Parse readonly values for AbstractFields correctly #18850
Change-Id: I6f7d8731d185fe1c88e861435a401d887b2defbe
Diffstat (limited to 'server/src/com/vaadin/ui/ProgressBar.java')
-rw-r--r-- | server/src/com/vaadin/ui/ProgressBar.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/ProgressBar.java b/server/src/com/vaadin/ui/ProgressBar.java index 89baac1e64..d38067d51e 100644 --- a/server/src/com/vaadin/ui/ProgressBar.java +++ b/server/src/com/vaadin/ui/ProgressBar.java @@ -159,8 +159,9 @@ public class ProgressBar extends AbstractField<Float> implements public void readDesign(Element design, DesignContext designContext) { super.readDesign(design, designContext); if (design.hasAttr("value") && !design.attr("value").isEmpty()) { - setValue(DesignAttributeHandler.readAttribute("value", - design.attributes(), Float.class)); + setValue( + DesignAttributeHandler.readAttribute("value", + design.attributes(), Float.class), false, true); } } |