}
dts.activate(ureq, dt, null); // null: start with main entry point of controller
} else if (repoEntry.getCanDownload()) {
// else not launchable in olat, but downloadable -> send the document
// directly to browser but "downloadable" (pdf, word, excel)
MediaResource mr = handler.getAsMediaResource(ores);
RepositoryManager.getInstance().incrementDownloadCounter(repoEntry);
ureq.getDispatchResult().setResultingMediaResource(mr);
return;
} else { // neither launchable nor downloadable -> show details
//REVIEW:pb:replace EntryChangedEvent with a more specific event