use of org.olat.modules.edubase.BookDetails in project openolat by klemens.
the class EdubaseBookSectionListController method showDetails.
private void showDetails(UserRequest ureq, BookSectionWrapper wrapper) {
String bookId = setParsedBookId(wrapper);
BookDetails bookDetails = edubaseManager.fetchBookDetails(bookId);
setCoverUrl(wrapper, bookDetails);
detailsController = new EdubaseBookSectionDetailsController(ureq, getWindowControl(), wrapper, bookDetails);
listenTo(detailsController);
closeableModalController = new CloseableModalController(getWindowControl(), translate("close"), detailsController.getInitialComponent(), true, translate("edubase.book.section.details.form.title"));
listenTo(closeableModalController);
closeableModalController.activate();
}
Aggregations