}
@Override
public Widget cloneDisplay(Map<String, Object> formData) {
Object input = getInputValue(formData);
ImageRolodexPanel panel = ((ImageRolodexFormItem) cloneItem()).panel;
if (input != null) {
if (input.getClass().isArray()) {
Object[] arr = (Object[]) input;
for (Object obj : arr) {
panel.add(createCard(obj.toString()));
}
} else if (input instanceof Collection) {
Collection<?> col = (Collection<?>) input;
for (Object obj : col) {
panel.add(createCard(obj.toString()));
}
}
}
return panel;
}