Skip to main content

EnsPortal.Dialog.SourceControlOutput

class EnsPortal.Dialog.SourceControlOutput extends EnsPortal.Dialog.standardDialog, %CSP.Portal.SourceControl.Dialog.ServerOutput

Helper dialog to display the server-side output from Source Control classes. This class should only be opened from a class which extends EnsPortal.Template.devPage.

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 RESOURCE = %Ens_ProductionConfig:READ,%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_ProductionConfig:READ, %Ens_Code, %Ens_Rules, %Ens_RoutingRules, %Ens_BusinessRules, %Ens_BPL, %Ens_DTL or %Ens_RecordMap

Methods

method %OnGetSubtitle() as %String
Inherited description: Get the (localized) subtitle string for the dialog. This should be implemented in a subclass.
method %OnGetTitle() as %String
Inherited description: Get the (localized) title string for the dialog. This should be implemented in a subclass.
clientmethod clearOutput() [ Language = javascript ]
Clear output from the session and update the display. Overridden from %CSP.Portal.SourceControl.Dialog.ServerOutput as it wasn't being picked up by the Zen inheritance mechanisms.
clientmethod dialogFinish() [ Language = javascript ]
Override the handling of firePopupAction() for the default case where the popup has not been launched using zenLaunchPopupWindow().
clientmethod getDialogValue() [ Language = javascript ]
This dialog doesn't return a value.
clientmethod ondialogFinish(action) [ Language = javascript ]
Close the window and update the parent when the user is finished with the page.
clientmethod onloadHandler() [ Language = javascript ]
Ensure that we refresh the output (and thus update the parent flag) whenever the user comes back to the popup.
clientmethod onunloadHandler() [ Language = javascript ]
Ensure that the parent page knows when this page gets closed.
clientmethod refreshOutput(array) [ Language = javascript ]
Refresh the output based on the data supplied in array or from the server. This method also hides the new output indicator on the source page. Overridden from %CSP.Portal.SourceControl.Dialog.ServerOutput as it wasn't being picked up by the Zen inheritance mechanisms.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab