diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-28 09:15:01 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-11-28 09:23:51 +0200 |
commit | 268b3ca88dec3869562ff4129b99212f139f2233 (patch) | |
tree | e50b5b1750fd1383fb49ce33158e4811c0ac9a89 /server/src/com/vaadin/ui/TabSheet.java | |
parent | d7fa318bfd22f4274bec57d09bb74d98e458fc1a (diff) | |
download | vaadin-framework-268b3ca88dec3869562ff4129b99212f139f2233.tar.gz vaadin-framework-268b3ca88dec3869562ff4129b99212f139f2233.zip |
Always mark child hierarchy dirty when switching tabs (#10404)
Change-Id: Id6a0b23efb500d2c94bd696cc6eebfe5b5ffd60b
Diffstat (limited to 'server/src/com/vaadin/ui/TabSheet.java')
-rw-r--r-- | server/src/com/vaadin/ui/TabSheet.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/server/src/com/vaadin/ui/TabSheet.java b/server/src/com/vaadin/ui/TabSheet.java index 5553bf64f8..66e41cffba 100644 --- a/server/src/com/vaadin/ui/TabSheet.java +++ b/server/src/com/vaadin/ui/TabSheet.java @@ -547,16 +547,9 @@ public class TabSheet extends AbstractComponentContainer implements Focusable, // component is communicated to the client. Otherwise this will be a // "cached" update even though the client knows nothing about the // connector - if (selected instanceof ComponentContainer) { - ((ComponentContainer) selected).markAsDirtyRecursive(); - } 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.markAsDirty(); + if (selected != null) { + selected.markAsDirtyRecursive(); } - } /** |