Skip to main content

%CSP.UI.Portal.RoutineCompare

class %CSP.UI.Portal.RoutineCompare extends %CSP.UI.Portal.Template

Zen page for System Management Portal Routine Compare

Property Inventory

Method Inventory

Parameters

parameter CSPURL = /csp/sys/exp/%CSP.UI.Portal.RoutineCompare.zen;
Inherited description: This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
parameter HELPADDRESS = Home,Routines,Compare;
Inherited description: Each SMP page should set this link which points to the documentation anchor name.
parameter PAGENAME = Compare Routines;
Displayed name of this page.
parameter PARENTPAGE = /csp/sys/exp/%CSP.UI.Portal.RoutineList.zen;
Inherited description: 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.
parameter RECENT = 0;
Inherited description: If true, register visits to this page in the recent list.
parameter RESOURCE = %Development:USE;
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 Namespace1 as %String (ZENURL = "$NAMESPACE");
Property methods: Namespace1DisplayToLogical(), Namespace1Get(), Namespace1IsValid(), Namespace1LogicalToDisplay(), Namespace1LogicalToOdbc(), Namespace1Normalize(), Namespace1Set()
property Namespace2 as %String (ZENURL = "$NAMESPACE");
Property methods: Namespace2DisplayToLogical(), Namespace2Get(), Namespace2IsValid(), Namespace2LogicalToDisplay(), Namespace2LogicalToOdbc(), Namespace2Normalize(), Namespace2Set()
property Routine1 as %String (ZENURL = "Routine1");
Property methods: Routine1DisplayToLogical(), Routine1Get(), Routine1IsValid(), Routine1LogicalToDisplay(), Routine1LogicalToOdbc(), Routine1Normalize(), Routine1Set()
property Routine2 as %String (ZENURL = "Routine2");
Property methods: Routine2DisplayToLogical(), Routine2Get(), Routine2IsValid(), Routine2LogicalToDisplay(), Routine2LogicalToOdbc(), Routine2Normalize(), Routine2Set()

Methods

Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)
method %OnAfterCreatePage() as %Status
Load page specific data
method %OnGetPageName() as %String
Get the (localized) name of the page. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the page. This should be implemented in a subclass.
method DrawHTML(p As %String) as %Status
Draw HTML for Compare Results
clientmethod browseSelect(flag) [ Language = javascript ]
User clicked one of the Browse buttons. Save the flag so that when you return you know which text box to update.
clientmethod doCompare() [ Language = javascript ]
clientmethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event, if present, is fired when the a popup page launched from this page fires an action.
clientmethod onloadHandler() [ Language = javascript ]
When page is loaded, put focus on Routine 1

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab