summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-04-11 16:31:04 +0300
committerLeif Åstrand <leif@vaadin.com>2012-04-11 16:31:04 +0300
commit68964e5671e3e73f6415dfee5d3bfba5f880090a (patch)
tree140260cf682a6c5c2cb2fa0e274a24d146f58817
parentbd927f09ed2b73215527bd2e2b5d96eb5d1140f0 (diff)
downloadvaadin-framework-68964e5671e3e73f6415dfee5d3bfba5f880090a.tar.gz
vaadin-framework-68964e5671e3e73f6415dfee5d3bfba5f880090a.zip
Ensure table rows are sent when a Table tab is re-selected (#8642)
-rw-r--r--src/com/vaadin/ui/TabSheet.java4
1 files changed, 4 insertions, 0 deletions
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();
}