aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java b/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
index 2caecda8f4..f1e7e25329 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/FieldBinder.java
@@ -104,7 +104,7 @@ public class FieldBinder implements Serializable {
private void resolveFields(Class<?> classWithFields) {
for (Field memberField : getFields(classWithFields)) {
if (Component.class.isAssignableFrom(memberField.getType())) {
- fieldMap.put(memberField.getName().toLowerCase(Locale.ENGLISH),
+ fieldMap.put(memberField.getName().toLowerCase(Locale.ROOT),
memberField);
}
}
@@ -180,7 +180,7 @@ public class FieldBinder implements Serializable {
return false;
}
// validate that the field can be found
- Field field = fieldMap.get(fieldName.toLowerCase(Locale.ENGLISH));
+ Field field = fieldMap.get(fieldName.toLowerCase(Locale.ROOT));
if (field == null) {
getLogger()
.fine("No field was found by identifier " + identifier);