From 276797fad8642c68b2201f3752d025a231519e8f Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 6 Feb 2015 11:34:20 +0200 Subject: Show editor save error (#16602) Change-Id: I2727a9fabef4291798e97495c2df86b077387cbb --- shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java index 6fb0b7a069..61066f28c2 100644 --- a/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java +++ b/shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java @@ -58,9 +58,12 @@ public interface EditorClientRpc extends ClientRpc { * * @param saveSucceeded * true iff the save action was successful + * @param errorMessage + * the error message to show the user * @param errorColumnsIds * a list of column keys that should get error markers, or * null if there should be no error markers */ - void confirmSave(boolean saveSucceeded, List errorColumnsIds); + void confirmSave(boolean saveSucceeded, String errorMessage, + List errorColumnsIds); } -- cgit v1.2.3