|
|
@ -61,7 +61,8 @@ public class NewFormModel implements Serializable { |
|
|
|
|
|
|
|
|
|
|
|
public void setConfig(Map<String, List<PredefinedLayout>> config) { |
|
|
|
public void setConfig(Map<String, List<PredefinedLayout>> config) { |
|
|
|
for (String key : config.keySet()) { |
|
|
|
for (String key : config.keySet()) { |
|
|
|
this.config.put(i18nMap.get(key), config.get(key)); |
|
|
|
String i18nKey = StringUtils.isNotEmpty(i18nMap.get(key)) ? i18nMap.get(key) : key; |
|
|
|
|
|
|
|
this.config.put(i18nKey, config.get(key)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|