]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixed some server side selection change issue
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 12 Feb 2008 08:54:29 +0000 (08:54 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 12 Feb 2008 08:54:29 +0000 (08:54 +0000)
svn changeset:3774/svn branch:trunk

src/com/itmill/toolkit/ui/Table.java

index 63565f01b0ae75fcd96db72a2c7d5e721cd45a94..dc73c913d72fec3411930abca9d4d2b721dad8c9 100644 (file)
@@ -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