Package org.olat.instantMessaging

Examples of org.olat.instantMessaging.ConncectedUsersHelper


    String nodeInfo = (!CoordinatorManager.getCoordinator().isClusterMode()) ? "" : (", N"+CoordinatorManager.getCoordinator().getNodeId());
    olatFootervc.contextPut("olatversion", v.getFullVersion() + nodeInfo);
    // instant messaging awareness
    olatFootervc.contextPut("instantMessagingEnabled", new Boolean(InstantMessagingModule.isEnabled()));
    if (InstantMessagingModule.isEnabled()) {
      olatFootervc.contextPut("connectedUsers", new ConncectedUsersHelper());
    }
    //
    putInitialPanel(olatFootervc);
  }
View Full Code Here


    String nodeInfo = (!CoordinatorManager.getCoordinator().isClusterMode()) ? "" : (", N"+CoordinatorManager.getCoordinator().getNodeId());
    olatFootervc.contextPut("olatversion", v.getFullVersion() + nodeInfo);
    // instant messaging awareness
    olatFootervc.contextPut("instantMessagingEnabled", new Boolean(InstantMessagingModule.isEnabled()));
    if (InstantMessagingModule.isEnabled()) {
      olatFootervc.contextPut("connectedUsers", new ConncectedUsersHelper());
    }
    boolean ajaxOn = false;
    if(ureq.getUserSession().isAuthenticated()){
      ajaxOn = Windows.getWindows(ureq).getWindowManager().isAjaxEnabled();
    }else{
View Full Code Here

    showOtherUsers = LinkFactory.createLink("im.others.connected", buddiesList, this);
    showOtherUsers.setCustomEnabledLinkCSS("o_instantmessaging_footerlinks");
    showOtherUsers.setAjaxEnabled(false); //opens new window -> disable background post!
    showOtherUsers.setTarget("_blank");
   
    buddiesList.contextPut("othersConnected", new ConncectedUsersHelper());
    buddiesList.contextPut("contextpath", WebappHelper.getServletContextPath());
    buddiesList.contextPut("lang", ureq.getLocale().toString());
    buddiesList.contextPut("othersConnected", new ConncectedUsersHelper());
   
    buddiesListContent.contextPut("imclient", clientHelper);
    buddiesListContentPanel = new Panel("buddiesListContent");
    buddiesListContentPanel.setContent(buddiesListContent);
    buddiesList.put("buddiesListContent", buddiesListContentPanel);
View Full Code Here

TOP

Related Classes of org.olat.instantMessaging.ConncectedUsersHelper

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.