]> source.dussan.org Git - vaadin-framework.git/commit
Defer RPC calls in RpcDataProvider to avoid cache issues (#16505)
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Tue, 27 Jan 2015 12:44:24 +0000 (14:44 +0200)
committerHenrik Paul <henrik@vaadin.com>
Wed, 4 Feb 2015 10:43:29 +0000 (10:43 +0000)
commitbe25df9b752a7350c91393397389761ce652f52d
tree19f9dadeec218362231e799da9507805ab4f6ac5
parent49c150af5b7b3515e67c432362246ca7673e71fe
Defer RPC calls in RpcDataProvider to avoid cache issues (#16505)

This patch defers cache refresh and row adding/removing. These calls are
omitted completely when making initial response to the client or
updating the size with bare ItemSetChangeEvents.

Change-Id: I6b350680b3e2381caf6a66c9a4ad283207d024dc
server/src/com/vaadin/data/RpcDataProviderExtension.java
uitest/src/com/vaadin/tests/components/grid/GridInTabSheet.java
uitest/src/com/vaadin/tests/components/grid/GridInTabSheetTest.java