vtm.put("properties", parameters);
for (Iterator<Entry<String, Object>> i = additionalAttributes.entrySet().iterator(); i.hasNext();) {
Entry<String, Object> entry = i.next();
vtm.put(entry.getKey(), entry.getValue());
}
ITemplate tmpl = tpl;
try {
if (sourceAttribute != null) {
tmpl = new StringTemplate(bean.getString(sourceAttribute));
}
String output = vtm.render(tmpl.getKey(), tmpl.getSource());
if (output != null && targetAttribute != null) {
if (appendToTargetAttribute) {
Object target = bean.get(targetAttribute);
if (target != null && target instanceof String) {
String mergedString = target.toString() + output;