]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use correct type for UIDL value to avoid development mode problems (#12545)
authorArtur Signell <artur@vaadin.com>
Mon, 11 Nov 2013 14:41:16 +0000 (16:41 +0200)
committerArtur Signell <artur@vaadin.com>
Mon, 11 Nov 2013 14:41:16 +0000 (16:41 +0200)
Change-Id: Ib183e352fa64cb5c8f4d499ecb194768b18a16d6

client/src/com/vaadin/client/ui/VScrollTable.java

index 48fd85144f258f65ea2d4a5785e03072ab1992c6..d1d73f4e91f83f7905af35198a9e935b77bcb6d0 100644 (file)
@@ -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();