summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2015-11-09 12:58:52 +0200
committerArtur Signell <artur@vaadin.com>2016-08-08 09:45:12 +0000
commit37e09697298224f6b56917247bb39f3ce6c0fb1e (patch)
treee62f966eb0b4d917adadd9f529e3beebc6f7186c /shared
parent6d493408ed7a53c42e57cd87b43548403ea5e3b7 (diff)
downloadvaadin-framework-37e09697298224f6b56917247bb39f3ce6c0fb1e.tar.gz
vaadin-framework-37e09697298224f6b56917247bb39f3ce6c0fb1e.zip
Request ComboBox pages with RPC (#19929)
All client to server communication of ComboBox is now done with RPC. There is still an empty changeVariables() methods to override the default behavior in AbstractSelect. Change-Id: I718eeabd5c116ec4e00485ed37a0a6d5389ee1f0
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java
index 38704b5169..863aadcbcd 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java
@@ -39,4 +39,15 @@ public interface ComboBoxServerRpc extends ServerRpc {
* the id of a single item or null to deselect the current value
*/
public void setSelectedItem(String item);
+
+ /**
+ * Request the server to send a page of the item list.
+ *
+ * @param filter
+ * filter string interpreted according to the current filtering
+ * mode
+ * @param page
+ * zero based page number
+ */
+ public void requestPage(String filter, int page);
}