Package org.olat.core.commons.portlets.iframe

Examples of org.olat.core.commons.portlets.iframe.IframePortlet


  /**
   * @see org.olat.gui.control.generic.portal.AbstractPortlet#createInstance(org.olat.core.gui.control.WindowControl, org.olat.core.gui.UserRequest, java.util.Map)
   */
  public Portlet createInstance(WindowControl wControl, UserRequest ureq, Map configuration) {
    IframePortlet p = new IframePortlet();
    p.setConfiguration(configuration);
    p.setTranslator(new PackageTranslator(Util.getPackageName(IframePortlet.class), ureq.getLocale()));
    // override css class if configured
    String cssClass = (String)configuration.get("cssWrapperClass");
    if (cssClass != null) p.setCssWrapperClass(cssClass);
    return p;
  }
View Full Code Here

TOP

Related Classes of org.olat.core.commons.portlets.iframe.IframePortlet

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.