Class Reference
IRIS for UNIX 2024.1.2
|
|
Private
Storage
|
Template for System Management Portal (used by System Operation, System Explorer, System Administration).
|
|
|
Class name of application this page belongs to.
Each SMP page should set this link which points to the documentation anchor name.
Displayed name of this page.
This parameter defines the parent page for this page.
If the name ends in .csp, then the parent is assumed to be an autopage-enabled CSP page.
If the name ends in .cls, then the parent is assumed to be a Zen page.
This is used to automate the construction of the locator bar for this page and to build the index between portal pages and documentation.
The %GetLocatorInfo method is used to get this information.
|
Keeps track of the first form field that failed during validation.
This property overrides %CSP.Portal.Template to use parameter HELPADDRESS that every SMP pages has.
Set to 1 in %OnAfterCreatePage if a URI parameter is invalid. Used to disable command buttons in onloadHandler().
1 if we are on an EMS manager and viewing group data or on a managed instance, 0 otherwise. Property IsEMSReadOnly As %Boolean [ InitialExpression = {##class(%SYS.EMS).IsReadOnly($classname())} ];
If set to 1 then the generic Save and Cancel button will be shown on the ribbon bar.
Keeps track of currently disabled buttons' onclick events.
ID for edit.
Parent URL that Cancel and Save should return to
|
This method is used by SMP to return home page. Set home to %session if not null for later use.
Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)
Subclasses with extra layers of locator links or other than "Configuration" please override.
Be sure to do ##super() when overriding.
Get the (localized) title string for the page. Subclass can override.
Get information to display in the ribbon bar.
This method can be called by the doSave() function to handle what the ZenMethod of server Save returned. The method expects a proxy object to be passed. result.ok = 1 indicates save is successful. result.Message is a message (not an error message) that should be displayed. result.ok = 0 indicates save has failed. result.ErrorMessage should be displayed. If result.ok = 1 and result.Message is null then the edit form is closed and the ParentURL is displayed.
This method can be called after validation (where validateRequired has failed) fails. Display standard error message and set focus to the FirstFailed field.
This method resets the modified indicator and return user to the parent page.
This method is called when a field is modified. setModified(true) will cause the modified indicator (a star) to show next to the page name.
This method returns true if a ribbon button is disabled; false otherwise.
Disable save button for EMS-managed pages. Be sure to use this.invokeSuper('onloadHandler',arguments); when overriding.
Clear message from idRespond html (usually placed above the editing portion of the page, but could be anywhere).
Display message in idRespond html (usually placed above the editing portion of the page, but could be anywhere). isErr: if 1 is passed in then the color will be changed to red; If 0 is passed in then the color is changed to #4D3926; If 2 is passed in then the color is changed to green, i.e. success If nothing is passed in, then the color is unchanged. This allows developers to set their own style/class and still be able to use showMsg.
trim space from both outside and inside a string of a passed in zen property and then set back into the zen property
Validate the control value. pass is either "true" or "false" indicating if there is already a field that failed validation. Type is "N" for numeric or "S" for string. If numeric, if checkRange is true, we additionally validate that the number is between minVal and maxVal, inclusive.