@ -103,6 +103,12 @@ public class DownloadView extends AbstractView {
FileInfo fileInfo = (FileInfo)obj;
return fileInfo.getName();
}
obj = model.get("download");
if (obj instanceof Downloadable) {
Downloadable downloadable = (Downloadable)obj;
return downloadable.getFilename();
return null;