Examples of IframeTunnelController


Examples of org.olat.modules.tu.IframeTunnelController

   */
  public void event(UserRequest ureq, Component source, Event event) {
    if (source == previewButton) { // those must be links
      Controller tunnelRunCtr;
      if (config.getBooleanSafe(TUConfigForm.CONFIG_IFRAME)) { 
        tunnelRunCtr = new IframeTunnelController(ureq, getWindowControl(), config);
      } else {         
        tunnelRunCtr = new TURunController(getWindowControl(), config, ureq, courseNode, PreviewConfigHelper.getPreviewCourseEnvironment(true, true, course));
      }
      if (previewLayoutCtr != null) previewLayoutCtr.dispose();
      // preview layout: only center column (col3) used
View Full Code Here

Examples of org.olat.modules.tu.IframeTunnelController

    boolean iniframe = config.getBooleanSafe(TUConfigForm.CONFIG_IFRAME);
    // create the possibility to float
    CloneableController controller;
    if (iniframe) { 
      // Do not dispose this controller if the course is closed...
      IframeTunnelController ifC = new IframeTunnelController(ureq, getWindowControl(), config);
      controller = ifC;     
    } else {
      TunnelController tuC = new TunnelController(ureq, getWindowControl(), config);
      controller = tuC;     
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.