JBoss.orgCommunity Documentation
serverURL (Default: "http://127.0.0.1:8080"): The address of your eXo installation. To change it, use spaces.setServerURL(...).
spaceServicePath (Default: "/rest/private/spaces/"): The path to the spaces service. It is rare you have to change it; but if needed, use spaces.setSpaceServicePath(...).
portalName (Default: "socialdemo"): The name of portal you are using. To change it, use spaces.setPortalName(...).
If you want to change any part of this configuration, the best way is to change before creating the pop-up. For example:
<div class="exoSpacesContainer"><a href="#" id="exoSpacesLink" class="exoSpacesLink" target="_blank">Space</a></div> <script src="/socialWidgetResources/javascript/space.js"></script> <script> spaces.setServerURL("http://192.168.2.100:8080"); spaces.createPopup("exoSpacesLink", "My cool new space", "my cool description"); </script>
You can see an example of integration at: http://localhost:8080/socialWidgetResources/test.html