]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ensure table rows are sent when a Table tab is re-selected (#8642)
authorLeif Åstrand <leif@vaadin.com>
Wed, 11 Apr 2012 13:31:04 +0000 (16:31 +0300)
committerLeif Åstrand <leif@vaadin.com>
Wed, 11 Apr 2012 13:31:04 +0000 (16:31 +0300)
src/com/vaadin/ui/TabSheet.java

index c4c524210fbfbb3c3825062b96fbaf1d4f3fb869..0c7dea1e527fb679e1e921ecefedce2340a64db4 100644 (file)
@@ -589,6 +589,10 @@ public class TabSheet extends AbstractComponentContainer implements Focusable,
         // connector
         if (selected instanceof ComponentContainer) {
             ((ComponentContainer) selected).requestRepaintAll();
+        } else if (selected instanceof Table) {
+            // Workaround until there's a generic way of telling a component
+            // that there is no client side state to rely on. See #8642
+            ((Table) selected).refreshRowCache();
         } else if (selected != null) {
             selected.requestRepaint();
         }