Package org.olat.core.dispatcher.mapper

Examples of org.olat.core.dispatcher.mapper.MapperRegistry.register()


        } else {
          // it is a html page with olatraw parameter => redirect to mapper
          MapperRegistry mapperRegistry = MapperRegistry.getInstanceFor(ureq.getUserSession());
          Mapper mapper = createMapper(rootContainer);
          // NOTE: do not deregister this mapper, since it could be used a lot later (since it is opened in a new browser window)
          String amapPath = mapperRegistry.register(mapper);

          ese.setResultingMediaResource(new RedirectMediaResource(amapPath+"/"+moduleURI));
          Tracing.logDebug("RedirectMediaResource=" + amapPath+"/"+moduleURI, HtmlStaticPageComponent.class);
          ese.accept();
          mr = ese.getResultingMediaResource();
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.