]> 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)
committerLeif Åstrand <leif@vaadin.com>
Thu, 5 Feb 2015 09:36:20 +0000 (11:36 +0200)
commite93fb3a0e1dea3e9165dbf6463b5658ec9c89e00
tree0f4bb62236afb919a1c1f702730c7144c3558e84
parent93d73859a9a66086528ef35510cfff15e47dd827
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