From: Leif Åstrand Date: Wed, 11 Apr 2012 13:31:04 +0000 (+0300) Subject: Ensure table rows are sent when a Table tab is re-selected (#8642) X-Git-Tag: 7.0.0.alpha2~90 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68964e5671e3e73f6415dfee5d3bfba5f880090a;p=vaadin-framework.git Ensure table rows are sent when a Table tab is re-selected (#8642) --- diff --git a/src/com/vaadin/ui/TabSheet.java b/src/com/vaadin/ui/TabSheet.java index c4c524210f..0c7dea1e52 100644 --- a/src/com/vaadin/ui/TabSheet.java +++ b/src/com/vaadin/ui/TabSheet.java @@ -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(); }