%CSP.UI.System.AutoPageCSPabstract class %CSP.UI.System.AutoPageCSP
This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.
Base class used by CSP pages that work within the AutoPage framework.
Default Charset parameter DOMAIN = "%Utility";
Default Localization Domain parameter LOGINPAGE = "%CSP.Login.cls";
Name of the page to use for logins parameter PAGENAME;
Name of this page parameter PARENTPAGE;
Name of the parent page (used for the locator bar)
Get the list of items for the locator bar. classmethod GetPageName() as
Return localized version of PageName classmethod OnPreHTTP() as
Event handler for PreHTTP event: this is invoked before the HTTP headers for a CSP page have been sent. All changes to the classmethod WriteTitlePane(pTitle As
%CSP.Responseclass, 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 OnPagefrom being called.
Write out the title pane for this page