Context sharing is when the focus of one viewlet determines the content that is displayed in one or more viewlets on the same HTML page. A simple example illustrates how this might work. When instance context sharing is enabled for a Notification Log viewlet, a user can select a failed node in a Map viewlet and the Notification Log displays the notifications related to the selected map node. The VMware Smart Assurance Service Assurance Manager Operator Guide provides additional information about context sharing.

Parameters for context sharing with viewlets lists the parameters related to context sharing for viewlets and indicates which viewlets the parameters apply to. Setting the value to true enables context sharing.

Table 1. Parameters for context sharing with viewlets

Parameter

Description

com.smarts.context.notification

When true, causes the viewlet to listen for notification context changes. You can set this parameter for the following viewlets:

  • Map

com.smarts.context.instance

When true, causes the viewlet to listen for instance context changes. You can set this parameter for the following viewlets:

  • Map

  • Notification Log

com.smarts.context.summary

When true, causes a Notification Log viewlet to display the notifications graphed in the Summary viewlet.

  • Notification Log

com.smarts.context.collectionEntity

When true, causes the viewlet to display information related to the collection entity class. Collection entity classes include the following classes and their subclasses:

  • ServiceOffering

  • ServiceSubscriber

  • HierarchicalGroup

  • SelectiveGroup

  • ApplicationGroup

You can set this parameter for the following viewlets:

  • Notification Log

  • Map

  • Summary

com.smarts.launch.globalMg

Name of the Global Manager for context when the viewlet is attached to more than one Global Manager.

Note:

Notification Properties viewlets always listen for notification context and Containment viewlets always listen for notification and instance context.