BeanWrapper wrapper = PropertyAccessorFactory.
forBeanPropertyAccess(ReportletConfModalPage.this.reportletConf);
Panel panel;
if (String.class.equals(field.getType()) && annotation != null && annotation.userSearch()) {
panel = new UserSearchPanel.Builder("value").
fiql((String) wrapper.getPropertyValue(fieldName)).required(false).build();
// This is needed in order to manually update this.reportletConf with search panel selections
panel.setDefaultModel(new Model<String>(fieldName));
} else if (String.class.equals(field.getType()) && annotation != null && annotation.roleSearch()) {