Home > Class Reference > %SYS namespace > %ZHSLIB.PackageManager.Developer.Extension.UI.templatePage

%ZHSLIB.PackageManager.Developer.Extension.UI.templatePage

class %ZHSLIB.PackageManager.Developer.Extension.UI.templatePage extends %ZEN.Template.studioTemplate

Package Manager UI template page

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

parameter APPLICATION = %ZHSLIB.PackageManager.Developer.Extension.UI.Application;
Class name of application this page belongs to.
parameter CSPURL = "/isc/studio/templates/"_$classname()_".cls";
Lock down access to this class to the /isc/studio/templates/ web application.
parameter CSSINCLUDES = bootstrap-3-3-5/dist/css/bootstrap.min.css;
Inherited description: Comma-separated list of additional CSS include files for the page. If this page is using CSS3 then the CSS3INCLUDES parameter is used (if defined).
parameter DOMAIN = HSPM;
Domain used for localization.
parameter JSINCLUDES = jquery-1.11.3.min.js,bootstrap-3-3-5/dist/js/bootstrap.min.js;
Inherited description: Comma-separated list of additional JS include files for the page.
parameter PAGENAME = Package Manager templatePage;
Displayed name of this page.
parameter SECURITYRESOURCE = %Development:USE;
All CSP/Zen pages in the package manager require USE permissions on the %Development resource.

Properties (Including Private)

property Namespace as %ZEN.Datatype.string (ZENURL = "$NAMESPACE");
Inherited description: Current namespace within Studio.
Property methods: NamespaceDisplayToLogical(), NamespaceGet(), NamespaceIsValid(), NamespaceLogicalToDisplay(), NamespaceLogicalToOdbc(), NamespaceNormalize(), NamespaceSet()
property Page as %ZEN.Datatype.string;
Property methods: Page(), PageDisplayToLogical(), PageGet(), PageIsValid(), PageLogicalToDisplay(), PageLogicalToOdbc(), PageNormalize(), PageSet()
property SelectModuleNameTitle as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("(Select a Module name)") ];
Property methods: SelectModuleNameTitleDisplayToLogical(), SelectModuleNameTitleGet(), SelectModuleNameTitleIsValid(), SelectModuleNameTitleLogicalToDisplay(), SelectModuleNameTitleLogicalToOdbc(), SelectModuleNameTitleNormalize(), SelectModuleNameTitleSet()
property SelectOne as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("(select one)") ];
Property methods: SelectOneDisplayToLogical(), SelectOneGet(), SelectOneIsValid(), SelectOneLogicalToDisplay(), SelectOneLogicalToOdbc(), SelectOneNormalize(), SelectOneSet()
property lblErrorPrefix as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("Error!", "HSPM") ];
Property methods: lblErrorPrefixDisplayToLogical(), lblErrorPrefixGet(), lblErrorPrefixIsValid(), lblErrorPrefixLogicalToDisplay(), lblErrorPrefixLogicalToOdbc(), lblErrorPrefixNormalize(), lblErrorPrefixSet()
property pageModified as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
True if the contents of this page need to be saved.
Property methods: pageModifiedDisplayToLogical(), pageModifiedGet(), pageModifiedIsValid(), pageModifiedLogicalToDisplay(), pageModifiedLogicalToOdbc(), pageModifiedLogicalToXSD(), pageModifiedNormalize(), pageModifiedSet(), pageModifiedXSDToLogical()

Methods (Including Private)

method %DrawFooter(pSeed As %String) as %Status [ Language = objectscript ]
Provide HTML for html footer box.
Default implementation displays the standard Cancel button.
method %DrawTitle(pSeed As %String) as %Status [ Language = objectscript ]
Provide HTML for html title box.
Default implementation displays the standard Package Manager title bar.
method %OnGetSubtitle() as %String [ Language = objectscript ]
Get the (localized) subtitle string for the page. This may be implemented in a subclass.
method %OnGetTitle() as %String [ Language = objectscript ]
Get the (localized) title string for the page. This may be implemented in a subclass.
classmethod CheckDirectoryContents(pPath As %String, pExpectedModuleName As %String, Output pMessage As %String) as %Status [ Language = objectscript ]
method GetCommonLocalization(ByRef pResources As %String) [ Language = objectscript ]
Commonly used localization strings. (please enter in alphabetical order)
method GetModuleListSQL(ByRef pParms As %String, ByRef pSQL As %String, pCriteria As %ZEN.proxyObject, ByRef pPagingInfo As %String) as %Status [ Language = objectscript ]
Method to return Module list used by multiple templates.
method GetSnapshotModuleListSQL(ByRef pParms As %String, ByRef pSQL As %String, pCriteria As %ZEN.proxyObject, ByRef pPagingInfo As %String) as %Status [ Language = objectscript ]
Method to return list of installed snapshot modules
clientmethod cancelTemplate() [ Language = javascript ]
Close the template window.
clientmethod confirmCancel() [ Language = javascript ]
Check before Cancel out. If user has unsaved changes, prompt to save.
clientmethod isModified() [ Language = javascript ]
clientmethod loadDropdown(id, dataSource, valueProperty, descProperty, allowEmpty) [ Language = javascript ]
Generic method to load a bootstrap style dropdown. id: input text field id for the dropdown dataSource: jsonProvider id valueProperty: Value property name descProperty (optional): Description property name. If not passed in, valueProperty will be used allowEmpty (optional): if 1 is passed in, then build an empty selection example: this.loadDropdown('InstallerClass','jsonInstallerClassList','Name','DisplayName');
clientmethod setErrorMessage(msg, ctrl) [ Language = javascript ]

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Subclasses

FeedbackOpens in a new window