Commit fc6c1d6a authored by Jasper Koehorst's avatar Jasper Koehorst
Browse files

error message with value

parent 9b356217
Pipeline #36591 passed with stage
in 3 minutes and 36 seconds
......@@ -187,7 +187,7 @@ public class Export extends Div {
textFieldPrefix.setValue(textFieldPrefix.getValue().toLowerCase());
if (!textFieldPrefix.getValue().matches("[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*")) {
Notification.show("Only alphanumeric characters and '-' allowed", 10000, Notification.Position.MIDDLE);
Notification.show("Only alphanumeric characters and '-' allowed and not " + textFieldPrefix.getValue(), 10000, Notification.Position.MIDDLE);
} else {
IRODSAccount irodsAccount = credentials.getIrodsAccount();
IRODSFileFactory fileFactory = IRODSFileSystem.instance().getIRODSFileFactory(credentials.getIrodsAccount());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment