From 37e09697298224f6b56917247bb39f3ce6c0fb1e Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 9 Nov 2015 12:58:52 +0200 Subject: 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 --- .../java/com/vaadin/shared/ui/combobox/ComboBoxServerRpc.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'shared/src') 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); } -- cgit v1.2.3