showEvents

This method causes the EventViewer component to create a temporary event view, based on the parameters passed in the showEvents method, and adds the view to the event view list.

Syntax

showEvents(eventLinkId,
           substitutionDataXml,
           menuText,
           eventLinkXml);

Parameters

  • eventLinkId (String) - The <links> element messageId attribute value to match. (For information about event links and the <links> element, see the "Customizing Events" topic in the TIBCO Workspace Configuration and Customization Guide.)
  • substitutionDataXml (String) - The XML containing the attributes that are substituted into the <link> element that is used. The root element name is record: <record att1=”val1” att2=”val2”/>
  • menuText (String) (Optional) - If there are multiple <link> elements, the menuText value is used to locate a specific one. If null, the first link is used.
  • eventLinkXml (String) (Optional) - The XML that defines the event links. If this is null, the application-configured eventLinks XML is used.

Returns

none

Notes

For an example of displaying a temporary event view in an IFrame, see wccLoginManagedHub Sample Application.

Also see com.tibco.wcc.schema.showEvents for information about publishing a “Version 2" of the showEvent schema to create a temporary event view.