For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
property ignoreSearchWarnings as %Boolean [ InitialExpression = 1 ];
Flag to indicate whether the server should check for search warnings.
This is set to 1 to avoid issues when first loading the query as part of the page load,
and should then be set to 0 for most subsequent searches. It should only be set to 1
when users have read a warning and have chosen to execute a possibly problematic query.
Server-side method to write out the content for the SessionId cells.
The main purpose is to ensure that links to the Visual Trace diagram are only included
for events which occurred as part of a session.
Helper method to create a new Condition object. This is primarily
required by the Advanced Search popups -- IE is unhappy about directly invoking
constructors on the window.opener object.
Delete an existing saved search.
Update the details for a selected message.
Client-side method to render the extended criteria expando.
Open the SearchCriteria popup for a criterion.
Client accessor for the Filter current object.
Use current values of the search criteria and/or selected values to create a URL for the message resend page.
Handle the client-side rendering the of the right hand pane.
This is primarily due to IE as it shrinks the contents div without this intervention.
The function only adjusts the size of the tab group is not hidden.
Load a named search from the server.
Make sure we check for warnings and update the filter from
the server after a search is executed.
Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
Notify subclass that a search is being executed.
Callback to indicate the user clicked on an item.
Here we simply make sure that the tab content is up to date.
User clicked on a tab, or selected a new item, so we need to fetch the
required content from the server.
Callback from the Trace SVG onSVGLoad() callback.
The callback is used to ensure that we have the loaded SVG diagram available
before we attempt to resize the diagram or highlight the currently selected message.
Adjust sizes of components on the page.
The primary purposes of this function are to ensure that the details pane
is sized correctly based on whether the tab group is hidden, and to
correctly update the expander text and the contents of the tab group.
Ensure that tab behaviour is initialised correctly.
Inherited description: This client event, if present, is fired when the page is unloaded.
If this method returns a string value, then that is used as the
return value of the HTML page's onbeforeunload handler (if more than
one component returns a string, the first one encountered is used).
Remove a criterion from the page.
Save the current search criteria to the server.
Correctly resize the SVG trace diagram to fit into the current SVG frame size.
Shift the Term at index one position forward or back in the array,
with direction being specified as either 'up' or 'down'.
Inherited description: Show text of most recent query.
Send the current Filter to the server so it can be saved.
Toggle the display of the "Save As" controls and the list controls.
Update the current Filter based on the form's contents. Extended criteria are saved separately.
Update the form on the page based on an updated Filter object.
Wrapper method to ensure the client state correctly reflects the current criteria, including
marking the current search as NOT a saved one.