Package org.olat.repository

Examples of org.olat.repository.DisplayInfoForm


    OLATResourceable courseRunOres = OresHelper.createOLATResourceableInstance(RunMainController.ORES_TYPE_COURSE_RUN, repositoryEntry.getOlatResource().getResourceableId());
    if (ores != null) cnt = CoordinatorManager.getCoordinator().getEventBus().getListeningIdentityCntFor(courseRunOres);
    numUsers = String.valueOf(cnt);
    infopanelVC.contextPut("numUsers", numUsers);
    // push addtl infos
    main.put("displayform", new DisplayInfoForm("displayform", getTranslator(), repositoryEntry));
    infopanelVC.contextPut("isAuthor", Boolean.valueOf(isAuthor));
    infopanelVC.contextPut("isOwner", Boolean.valueOf(isOwner));
    // init handler details
    RepositoryHandler handler = RepositoryHandlerFactory.getInstance().getRepositoryHandler(repositoryEntry);
    infopanelVC.contextPut("iscourse", new Boolean(handler instanceof CourseHandler));
View Full Code Here

TOP

Related Classes of org.olat.repository.DisplayInfoForm

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.