Home > Class Reference > ENSLIB namespace > EnsPortal.Dialog.SourceControlManager

EnsPortal.Dialog.SourceControlManager

class EnsPortal.Dialog.SourceControlManager extends %CSP.Portal.SourceControl.Dialog.Manager, EnsPortal.Template.standardPage

Wrapper class to correctly manage popups requested by Source Control hooks.

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = EnsPortal.Application;
Set this to the appropriate application class.
parameter DOMAIN = Ensemble;
Inherited description: Domain used for localization.
parameter PAGENAME = Source Control Dialog;
Inherited description: Displayed name of this page.
parameter RESOURCE = %Ens_Code:READ,%Ens_Rules:READ,%Ens_RoutingRules:READ,%Ens_BusinessRules:READ,%Ens_BPL:READ,%Ens_DTL:READ,%Ens_RecordMap:READ;
User needs READ permissions on one of the following resources to view this page: %Ens_Code, %Ens_Rules, %Ens_RoutingRules, %Ens_BusinessRules, %Ens_BPL, %Ens_DTL or %Ens_RecordMap

Properties

property msgNotPermitted as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("You are not permitted to perform this action") ];
Message to inform the user they may not perform a given action.
Property methods: msgNotPermittedDisplayToLogical(), msgNotPermittedGet(), msgNotPermittedIsValid(), msgNotPermittedLogicalToDisplay(), msgNotPermittedLogicalToOdbc(), msgNotPermittedNormalize(), msgNotPermittedSet()

Methods

classmethod %OnPreHTTP() as %Boolean [ Language = objectscript ]
Inherited description: Ensure that the user has the required privileges for the Portal application.
clientmethod onunloadHandler() [ Language = javascript ]
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).

Inherited Members

Inherited Properties

Inherited Methods