summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGUIFormBuilderConfiguration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGUIFormBuilderConfiguration.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGUIFormBuilderConfiguration.java
index 706c163d..dde5ab70 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGUIFormBuilderConfiguration.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGUIFormBuilderConfiguration.java
@@ -150,7 +150,7 @@ public abstract class AbstractGUIFormBuilderConfiguration implements IGUIBuilder
log.trace("Build new MAP based group element");
} else if (groupDefinition.getType().equals(TYPE.LIST)) {
- groupMap = new ArrayList<String>();
+ groupMap = new ArrayList<Object>();
log.trace("Build new List based group element");
} else
@@ -163,7 +163,7 @@ public abstract class AbstractGUIFormBuilderConfiguration implements IGUIBuilder
((Map<String, Object>) groupMap).put(key, value);
else if (groupMap instanceof List<?>)
- ((List<String>)groupMap).add(value.toString());
+ ((List<Object>)groupMap).add(value);
else
log.warn("Can NOT add element: {} to group: {}, because group is of type: {}",