Examples of contextRemove()


Examples of org.olat.core.gui.components.velocity.VelocityContainer.contextRemove()

    Component comp = handler.getDetailsComponent(repositoryEntry.getOlatResource(), ureq);
    if (comp != null) { // push handler specific details view
      infopanelVC.contextPut("hasHandlerDetails", Boolean.valueOf("true"));
      infopanelVC.put("handlerDetails", comp);
    } else {
      infopanelVC.contextRemove("hasHandlerDetails");
    }
    // init reference usage
    // Where is it in use
    String referenceDetails = ReferenceManager.getInstance().getReferencesToSummary(repositoryEntry.getOlatResource(), ureq.getLocale());
    if (referenceDetails != null) {
View Full Code Here

Examples of org.olat.core.gui.components.velocity.VelocityContainer.contextRemove()

    // Where is it in use
    String referenceDetails = ReferenceManager.getInstance().getReferencesToSummary(repositoryEntry.getOlatResource(), ureq.getLocale());
    if (referenceDetails != null) {
      infopanelVC.contextPut("referenceDetails", referenceDetails);
    } else {
      infopanelVC.contextRemove("referenceDetails");
    }

    // Number of launches
    String numLaunches;
    if (repositoryEntry.getCanLaunch()) {
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.