Skip to main content

EnsLib.ITK.Setup.UI.EditMasterDetail

abstract class EnsLib.ITK.Setup.UI.EditMasterDetail extends EnsPortal.Dialog.standardDialog

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = EnsPortal.Application;
Enable styles that are common to all pages and dialogs for the EnsPortal application.
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 EDITRESOURCE = %Ens_ITK:WRITE;
Inherited description: Resource for subclasses to indicate whether further resources are needed to perform actions on pages.
parameter RESOURCE = %Ens_ITK:READ;
Inherited description: This is a comma-delimited list of system Resources and associated permissions. A user must hold the specified permissions on at least one of the specified resources in order to view this page or invoke any of its server-side methods from the client.
The format of each item in the list should be as follows:
Resource[:Permission]
Permission is optional, and defaults to USE if not supplied. If it is supplied, it should be one of USE, READ or WRITE.

Properties

property ChangesMade as %Boolean [ InitialExpression = 0 ];
Property methods: ChangesMadeDisplayToLogical(), ChangesMadeGet(), ChangesMadeIsValid(), ChangesMadeLogicalToDisplay(), ChangesMadeLogicalToXSD(), ChangesMadeNormalize(), ChangesMadeSet(), ChangesMadeXSDToLogical()
property ModelClass as %String;
Set this to the DataModel class for the controller model
Property methods: ModelClassDisplayToLogical(), ModelClassGet(), ModelClassIsValid(), ModelClassLogicalToDisplay(), ModelClassLogicalToOdbc(), ModelClassNormalize(), ModelClassSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Avoid writing out the session cookie if we are in a Studio session.
clientmethod adjustSize() [ Language = javascript ]
Adjust size and position of components on this page.
clientmethod deleteModel() [ Language = javascript ]
Delete current item from database
clientmethod getDialogValue() [ Language = javascript ]
Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
clientmethod resetModel() [ Language = javascript ]
insert a new row into the model ready for editing
clientmethod rowSelected(selected) [ Language = javascript ]
Override with specifics, but call invokeSuper first
clientmethod saveModel() [ Language = javascript ]
save contact model to database

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab