Skip to main content

EnsPortal.Dialog.ClassCompile

class EnsPortal.Dialog.ClassCompile extends EnsPortal.Dialog.standardDialog

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter CANCELBUTTON = 0;
Inherited description: If true, then this dialog displays a Cancel button.
parameter CLOSEONENTER = 1;
Inherited description: Allow popup to close as if clicking button "OK" when user presses the ENTER key. Usually this parameter would be set to 1 if the dialog does not contain input fields.
parameter CLOSEONESC = 2;
Inherited description: Allow popup to close as if clicking button "Cancel" or "X" when user presses the ESC key.
If this parameter has value 0, the popup will not close when user presses ESC.
If this parameter has value 1, the popup will be dismissed (canceled) when user presses ESC.
If this parameter has value 2, and the popup has button "OK", the popup will close as if clicking "OK".
parameter PAGENAME = Compile Class;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.
parameter RESOURCE = %Ens_Code:WRITE,%Ens_BPL:WRITE,%Ens_DTL:WRITE,%Ens_RecordMap:WRITE;
User needs WRITE permissions on one of the listed resources to view this page.

Properties

property classname as %ZEN.Datatype.className (ZENURL = "CLASSNAME");
Property methods: classnameDisplayToLogical(), classnameGet(), classnameIsValid(), classnameLogicalToDisplay(), classnameLogicalToOdbc(), classnameNormalize(), classnameSet()
property classtype as %ZEN.Datatype.string (ZENURL = "TYPE");
Property methods: classtypeDisplayToLogical(), classtypeGet(), classtypeIsValid(), classtypeLogicalToDisplay(), classtypeLogicalToOdbc(), classtypeNormalize(), classtypeSet()

Methods

method %OnAfterCreatePage() as %Status
Update label and set source for frame object
classmethod %OnBeforeCreatePage() as %Status
Check permissions
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the dialog. This should be implemented in a subclass.
clientmethod applyDetails() [ Language = javascript ]
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab