When creating a site group in the Site Administration utility, a business user selects the resources that can be shared within the group. These are typically items that hold data for the sites, such as shopping carts and product comparisons.

A list of the items available for sharing is displayed in Site Administration when a site group is being defined. To share an item within the site group, the business user selects the checkbox next to the item.

To enable an item or group of items to be shared within a site group (and to make the item or group of items appear in this list), you create a ShareableType component. A ShareableType component is a globally scoped Nucleus component of class atg.multisite.ShareableType that represents one or more shared data items. The shared items can be Nucleus components, Java objects, or other resources.

For shared Nucleus components, the ShareableType component should be of class atg.multisite.NucleusComponentShareableType. This is a subclass of ShareableType, which includes a paths property for specifying the pathnames of one or more shared Nucleus components.

Each ShareableType component must be registered with the /atg/multisite/SiteGroupManager component by adding it to that component’s shareableTypes property:

shareableTypes+=/atg/multisite/ShoppingCartShareableType

Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices