Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / CSPX.EnsBPLEditor
Private  Storage   

CSPX.EnsBPLEditor


class CSPX.EnsBPLEditor extends
%CSP.Page

Renders HTML wrapper for BPL editor as loaded by Studio

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5


Summary


Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %SetModified
ConvertParameter Decrypt DrawBPL DrawHTMLHead
Encrypt EscapeHTML EscapeURL GetTargetClass
HyperEventCall HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL


Parameters


• parameter DOMAIN = "Ensemble";
Use our own domain for localization

Methods


• classmethod DrawBPL(pName As %String, pTime As %String) as %Status
Load the BPL diagram with the given name write out XML version to current device
• classmethod DrawHTMLHead()
• classmethod GetTargetClass(pTarget)
Called from client: find class name for given target, if possible.
• classmethod OnPage() as %Status
Event handler for PAGE event: this is invoked in order to generate the content of a csp page.
• classmethod OnPreHTTP() as %Boolean
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.