summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-02-06 11:34:20 +0200
committerLeif Åstrand <leif@vaadin.com>2015-02-06 11:34:20 +0200
commitee1fa835047a02f2982c7b8da9abf15b06c9c919 (patch)
tree75e2637ec49466313cfa2faf1cf2bd948db81095 /shared
parent0e141e31bb30a0ab6726129f3c9fa892c92573e4 (diff)
downloadvaadin-framework-ee1fa835047a02f2982c7b8da9abf15b06c9c919.tar.gz
vaadin-framework-ee1fa835047a02f2982c7b8da9abf15b06c9c919.zip
Show editor save error (#16602)
Change-Id: I2727a9fabef4291798e97495c2df86b077387cbb
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/grid/EditorClientRpc.java5
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);
}