more xmlrpc datatypes
This commit is contained in:
parent
41ba1cfc63
commit
549e7bf804
@ -77,6 +77,15 @@ public class EMailTargetPropertyFieldFactory implements PropertyFieldFactory {
|
|||||||
lastIndex++;
|
lastIndex++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (value instanceof Object[]) {
|
||||||
|
Object[] list = (Object[]) value;
|
||||||
|
for (Object o : list) {
|
||||||
|
if (o instanceof String) {
|
||||||
|
targets.put(lastIndex, new SingleEMailTarget(this, lastIndex, (String) o));
|
||||||
|
lastIndex++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
targets.put(lastIndex, new SingleEMailTarget(this, lastIndex, ""));
|
targets.put(lastIndex, new SingleEMailTarget(this, lastIndex, ""));
|
||||||
repaint();
|
repaint();
|
||||||
return layout;
|
return layout;
|
||||||
|
@ -148,6 +148,18 @@ public class TableComponentFactory implements ComponentFactory, Serializable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (valueObject != null && valueObject instanceof Object[]) {
|
||||||
|
StringBuffer buf = new StringBuffer();
|
||||||
|
for (Object o : (Object[]) valueObject) {
|
||||||
|
if (o instanceof String) {
|
||||||
|
if (buf.length() > 0) {
|
||||||
|
buf.append(',');
|
||||||
|
}
|
||||||
|
buf.append((String) o);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
itemData[idx] = buf.toString();
|
||||||
|
}
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user