} else {
if (((List) wrapper.getPropertyValue(fieldName)).isEmpty()) {
((List) wrapper.getPropertyValue(fieldName)).add(null);
}
panel = new MultiValueSelectorPanel("value", new PropertyModel<List>(
ReportletConfModalPage.this.reportletConf, fieldName), buildSinglePanel(
field.getType(), fieldName, "panel"));
}
} else {
panel = buildSinglePanel(field.getType(), fieldName, "value");