Examples of DialogNodeForumCallback


Examples of org.olat.course.nodes.dialog.DialogNodeForumCallback

    uploadButton = LinkFactory.createButton("dialog.upload.file", content, this);

    isOlatAdmin = ureq.getUserSession().getRoles().isOLATAdmin();
    isGuestOnly = ureq.getUserSession().getRoles().isGuestOnly();
   
    forumCallback = new DialogNodeForumCallback(nodeEvaluation, isOlatAdmin, isGuestOnly, subsContext);
    content.contextPut("security", forumCallback);
   
    if(isGuestOnly){
      //guests cannot subscribe (OLAT-2019)
      subsContext = null;
View Full Code Here

Examples of org.olat.course.nodes.dialog.DialogNodeForumCallback

        // display forum either inline or as popup
        String integration = (String) courseNode.getModuleConfiguration().get(DialogConfigForm.DIALOG_CONFIG_INTEGRATION);
       
        subsContext = CourseModule.createSubscriptionContext(userCourseEnv.getCourseEnvironment(), courseNode, forum.getKey().toString());
        forumCallback = new DialogNodeForumCallback(nodeEvaluation, isOlatAdmin, isGuestOnly, subsContext);
        content.contextPut("security", forumCallback);
       
        if (integration.equals(DialogConfigForm.CONFIG_INTEGRATION_VALUE_INLINE)) {
          Controller forumCtr = ForumUIFactory.getStandardForumController(ureq, getWindowControl(), forum, forumCallback);
          listenTo(forumCtr);
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.