diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-02-12 08:54:29 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-02-12 08:54:29 +0000 |
commit | 1a611b1e57077fd65919d7ed7a9652d055ecfb48 (patch) | |
tree | 894a9f11e4d14adc2cd72090c0283ff646d89e91 /src/com/itmill/toolkit/ui | |
parent | 3870a10532c99e8eaae81ee184eda6e8d4212e71 (diff) | |
download | vaadin-framework-1a611b1e57077fd65919d7ed7a9652d055ecfb48.tar.gz vaadin-framework-1a611b1e57077fd65919d7ed7a9652d055ecfb48.zip |
fixed some server side selection change issue
svn changeset:3774/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui')
-rw-r--r-- | src/com/itmill/toolkit/ui/Table.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/ui/Table.java b/src/com/itmill/toolkit/ui/Table.java index 63565f01b0..dc73c913d7 100644 --- a/src/com/itmill/toolkit/ui/Table.java +++ b/src/com/itmill/toolkit/ui/Table.java @@ -1425,6 +1425,14 @@ public class Table extends AbstractSelect implements Action.Container, /* Overriding select behavior ******************************************** */ + public void setValue(Object newValue) throws ReadOnlyException, + ConversionException { + // external selection change, need to truncate pageBuffer + resetPageBuffer(); + refreshRenderedCells(); + super.setValue(newValue); + } + /** * Sets the Container that serves as the data source of the viewer. * @@ -2615,4 +2623,5 @@ public class Table extends AbstractSelect implements Action.Container, + getContainerDataSource().size() + " ,value:" + super.toString(); } + }
\ No newline at end of file |