Package org.olat.core.gui.components.htmlsite

Examples of org.olat.core.gui.components.htmlsite.ExternalSiteEvent


        String newUri = iue.getNewUri();
        ThreadLocalUserActivityLogger.log(CourseLoggingAction.NODE_SINGLEPAGE_GET_FILE, getClass(),
            CoreLoggingResourceable.wrapSpUri(newUri));
      }
      else if (event instanceof ExternalSiteEvent) {
        ExternalSiteEvent ese = (ExternalSiteEvent)event;
        String startUri = ese.getStartUri();
        final VFSContainer finalRootContainer = g_new_rootContainer;
       
        if (mapper == null) {
          mr = MapperRegistry.getInstanceFor(ureq.getUserSession());
          mapper = createMapper(finalRootContainer);
          amapPath = mr.register(mapper);
        }
        ese.setResultingMediaResource(new RedirectMediaResource(amapPath+"/"+startUri));
        ese.accept();
      }
     
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.htmlsite.ExternalSiteEvent

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.