Package org.olat.core.gui.components.download

Examples of org.olat.core.gui.components.download.DownloadComponent


    } else {
      // Render a download link for file
      VFSContainer courseFolder = userCourseEnv.getCourseEnvironment().getCourseFolderContainer();
      VFSItem downloadItem = courseFolder.resolve(file);
      if (file != null && downloadItem instanceof VFSLeaf) {
        DownloadComponent downloadComp = new DownloadComponent("downloadComp"(VFSLeaf) downloadItem);
        VelocityContainer peekviewVC = createVelocityContainer("peekview");
        peekviewVC.put("downloadComp", downloadComp);
        putInitialPanel(peekviewVC);
      } else {
        // boy, can't find file, use an empty panel
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.download.DownloadComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.