Skip to main content

%template.sqltemplate

Method Inventory

Parameters

parameter CSPFILE = F:\2018-1-9CE-805-0\dev\databases\sys\csp\templates\SQLTemplate.csp;
Inherited description: If this page was compiled from a .csp file, then this parameter contains the filename used for compilation.
parameter CSPURL = /isc/studio/templates/SQLTemplate.csp;
Inherited description: This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter DOMAIN = %TemplateMessages;
Inherited description: The default domain for csp:text, span and div tags. This parameter is used to specify the subset of localized messages to be used on this page.
parameter FileTimestamp = 66871,48210;

Methods

classmethod OnPage() as %Status
Inherited description: Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
classmethod OnPageBODY() as %Boolean
classmethod OnPageCSPROOT() as %Boolean
classmethod OnPageHEAD() as %Boolean
classmethod OnPageHTML() as %Boolean
classmethod OnPreHTTP() as %Boolean
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.

Inherited Members

Inherited Methods

FeedbackOpens in a new tab