Package com.ibm.xsp.extlib.component.sbt

Examples of com.ibm.xsp.extlib.component.sbt.UISbtClient


        // If we are in partial refresh mode, we assume that they are already loaded
        if(AjaxUtil.isAjaxPartialRefresh(context)) {
            return;
        }
     
        UISbtClient ctClient = (UISbtClient)component;

        // Ensure that the dojo theme is loaded
        UIViewRootEx2 rootEx = (UIViewRootEx2)context.getViewRoot();
        rootEx.setDojoTheme(true);

        // Make the client enabled
        UISbtClient.enableClient(rootEx, true);
       
        // Find the Connections Endpoint
        String endpointName = ctClient.getEndpoint();
        if(StringUtil.isEmpty(endpointName)) {
            endpointName = EndpointFactory.SERVER_CONNECTIONS;
        }
        Endpoint ctServer = EndpointFactory.getEndpointUnchecked(endpointName);
        if(ctServer==null) {
            //Platform.getInstance().log("Sametime server URL is undefined.");
            return;
        }

        boolean inclProfiles = ctClient.isProfilesBusinessCard();
        boolean inclCommunities = ctClient.isCommunitiesBusinessCard();
        if(inclProfiles || inclCommunities) {
            // Write the Profiles semantic servlet
            if(inclProfiles) {
              writeCommunitiesConfig(context, rootEx, ctClient, ctServer, endpointName);
            }
View Full Code Here

TOP

Related Classes of com.ibm.xsp.extlib.component.sbt.UISbtClient

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.