downloadable 지원 추가

master
mjkhan21 7 months ago
parent af9bdbc343
commit fe83a9a5b6

@ -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;
}

Loading…
Cancel
Save