summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-11-11 16:41:16 +0200
committerArtur Signell <artur@vaadin.com>2013-11-11 16:41:16 +0200
commit84521fa4b432ca8107a030a6bebfdf484bbee35a (patch)
tree0be469c28f5a8e1dde553901ab9abe13da5b1f2c
parentc308d8a949095ec49a6933d2d4424d078fb4e210 (diff)
downloadvaadin-framework-84521fa4b432ca8107a030a6bebfdf484bbee35a.tar.gz
vaadin-framework-84521fa4b432ca8107a030a6bebfdf484bbee35a.zip
Use correct type for UIDL value to avoid development mode problems (#12545)
Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6
-rw-r--r--client/src/com/vaadin/client/ui/VScrollTable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/VScrollTable.java b/client/src/com/vaadin/client/ui/VScrollTable.java
index 48fd85144f..d1d73f4e91 100644
--- a/client/src/com/vaadin/client/ui/VScrollTable.java
+++ b/client/src/com/vaadin/client/ui/VScrollTable.java
@@ -4232,8 +4232,8 @@ public class VScrollTable extends FlowPanel implements HasWidgets,
// Already updated by setColWidth called from
// TableHeads.updateCellsFromUIDL in case of a server
// side resize
- final String width = col.getStringAttribute("width");
- c.setWidth(Integer.parseInt(width), true);
+ final int width = col.getIntAttribute("width");
+ c.setWidth(width, true);
}
} else if (recalcWidths) {
c.setUndefinedWidth();