String className = (String) data.get("@className");
Object obj = null;
try {
obj = ReflectionHelper.newInstance(className);
if (obj instanceof Mappable) {
Mappable item = (Mappable) obj;
item.setDataMap(data);
} else {
throw new FormEncodingException("Cannot cast class "
+ obj.getClass().getName() + " to Mappable");
}
} catch (Exception e) {