diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-02-06 11:34:20 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-02-06 12:39:28 +0200 |
commit | 276797fad8642c68b2201f3752d025a231519e8f (patch) | |
tree | 497f302f4458ba1256ada33fb9d2e1e60f4a62f0 /shared | |
parent | ece89116e15c56f3f61aa92c581ab06ce0cd7393 (diff) | |
download | vaadin-framework-276797fad8642c68b2201f3752d025a231519e8f.tar.gz vaadin-framework-276797fad8642c68b2201f3752d025a231519e8f.zip |
Show editor save error (#16602)
Change-Id: I2727a9fabef4291798e97495c2df86b077387cbb
Diffstat (limited to 'shared')
-rw-r--r-- | shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java | 5 |
1 files changed, 4 insertions, 1 deletions
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 * <code>true</code> 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 * <code>null</code> if there should be no error markers */ - void confirmSave(boolean saveSucceeded, List<String> errorColumnsIds); + void confirmSave(boolean saveSucceeded, String errorMessage, + List<String> errorColumnsIds); } |