add(feedbackPanel);
}
public void setImageDirectory(File file) {
this.imageDirectory = file;
Sequence sequenceProperties = ImageUtils.readSequence(file);
if (sequenceProperties == null){
sequenceProperties = new Sequence();
sequenceProperties.setRoles(new ArrayList<Role>());
}
log.debug("sequence: " + sequenceProperties);
form.setModel(new CompoundPropertyModel(sequenceProperties));
//description.setModel(new PropertyModel(form.getModelObject(), "description"));
}