diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-01-12 11:17:28 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-01-12 11:17:28 +0000 |
commit | 4f6bc36661f0d07a6bafd7af3a0cd386f3ab9675 (patch) | |
tree | 196a59679668115c8df88d9d2d74c062a2442c4a /src/com/vaadin/ui | |
parent | d90f3ed208c5b5f8f6580afa95f8f22125361c2b (diff) | |
download | vaadin-framework-4f6bc36661f0d07a6bafd7af3a0cd386f3ab9675.tar.gz vaadin-framework-4f6bc36661f0d07a6bafd7af3a0cd386f3ab9675.zip |
Merge from 6.7
svn changeset:22607/svn branch:6.8
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/Table.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index b7235dd37b..d8c59c2e91 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -5148,4 +5148,14 @@ public class Table extends AbstractSelect implements Action.Container, public RowGenerator getRowGenerator() { return rowGenerator; } + + @Override + public void setVisible(boolean visible) { + if (!isVisible() && visible) { + // We need to ensure that the rows are sent to the client when the + // Table is made visible if it has been rendered as invisible. + setRowCacheInvalidated(true); + } + super.setVisible(visible); + } } |