protected void populateObject(HttpServletRequest request, Object object, ActionForm form) throws Exception {
Logger.getLogger(EditNoteAction.class).debug("Populating...");
super.populateObject(request, object, form);
NoteEditorForm noteForm = (NoteEditorForm)form;
Note note = (Note)object;
FormFile formFile = noteForm.getFormFile();
if (formFile != null) {
String filename = formFile.getFileName();
if (StringUtils.isNotEmpty(filename)) {
String contentType = formFile.getContentType();
InputStream input = formFile.getInputStream();