Utility class for displaying the contents of messages.
You should be able to pass in the following parameters:
HeaderClass=<specific message class> (or Ens.MessageHeader if you are starting from a header)
Transform=<Name of transform to apply to an XML Virtual Document>
SchemaCat=<Schema category to use in constructing DocType (if needed)>
The allowed values for HeaderClass are:
any child of EnsLib.EDI.Document
Comma-separated list of additional JS include files for the page - for Event Details popup.
Methods (Including Private)
classmethod CheckPermissions(pClassName As %String = "") as %Status [ Language = objectscript ]
Check whether the user is permitted to view data contained in the class specified
in pClassName. An error indicating a reason will be returned
if the user is not permitted to view the contents of the class.
private classmethod DrawAutoLogout() [ Language = objectscript ]
Helper method to draw the autologout logic for this page.
This code should be called from within the HTML head tag.
private classmethod GetStatus(Output pType As %String) as %Status [ Language = objectscript ]
Helper method to retrieve recorded status values/
classmethod Initialize(Output pContentType) [ Language = objectscript ]
Process the incoming request and correctly initialize the data that will be
used to construct the appropriate response.
classmethod OnPage() as %Status [ Language = objectscript ]
Render the actual content the user will see.
classmethod OnPreHTTP() as %Boolean [ Language = objectscript ]
Inherited description: Event handler for PreHTTP event: this is invoked before
the HTTP headers for a CSP page have been sent. All changes to the
%CSP.Response class, such as adding cookies, HTTP headers,
setting the content type etc. must be made from within the OnPreHTTP() method.
Also changes to the state of the CSP application such as changing
%session.EndSession or %session.AppTimeout must be made within the OnPreHTTP() method.
It is prefered that changes to %session.Preserve are also made in the OnPreHTTP() method
as this is more efficient, although it is supported in any section of the page.
Return 0 to prevent OnPage() from being called.
private classmethod SetStatus(pStatus As %Status, pType As %String = "server") [ Language = objectscript ]