use of org.olat.modules.portfolio.ui.wizard.CollectArtefactController in project openolat by klemens.
the class CertificateAndEfficiencyStatementListController method doCollectMedia.
private void doCollectMedia(UserRequest ureq, String title, Long efficiencyStatementKey) {
if (collectorCtrl != null)
return;
EfficiencyStatement fullStatement = esm.getUserEfficiencyStatementByKey(efficiencyStatementKey);
collectorCtrl = new CollectArtefactController(ureq, getWindowControl(), fullStatement, mediaHandler, "");
listenTo(collectorCtrl);
cmc = new CloseableModalController(getWindowControl(), null, collectorCtrl.getInitialComponent(), true, title, true);
cmc.addControllerListener(this);
cmc.activate();
}
Aggregations