Package org.olat.core.gui.components

Examples of org.olat.core.gui.components.Window.removeAttribute()


    Window myWindow = getWindowControl().getWindowBackOffice().getWindow();
    CustomCSS currentCustomCSS = (CustomCSS) myWindow.getAttribute(CURRENT_CUSTOM_CSS_KEY);
    if (currentCustomCSS != null) {
      // remove css and js from view
      mainVc.remove(currentCustomCSS.getJSAndCSSComponent());
      myWindow.removeAttribute(CURRENT_CUSTOM_CSS_KEY);
    }
  }

  /**
   * Add a custom css to the view and mark it as the curent custom CSS.
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.