System Management Portal - System Administration - Configuration - Source Control
Allow to change namespaces for this page. parameter CSPURL = "/csp/sys/mgr/%CSP.UI.Portal.SourceControl.zen";
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). parameter HELPADDRESS = "Home,Configuration,Source Control Settings";
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.
Each SMP page should set this link which points to the documentation anchor name. parameter PAGENAME = "Source Control Settings";
Displayed name of this page. parameter RESOURCE = "%Admin_Manage";
If set to 1 then the generic Save and Cancel button will be shown on the ribbon bar. property NSSelected as
Subclass to override. Always include code in this method. method %OnGetPageName() as
Get the (localized) name of the page. This should be implemented in a subclass. method DrawMenu(pSeed) as
Draw Namespaces list in the search pane. If pSeed is not null, then show only those that match it. method DrawSCContent(pNamespace) as
Draw html content for source control for current or selected namespace. method DrawTableHeader(pSeed As
Draw the contents of the Table Header (the region between the diagram and the table). method OnDrawRibbon() as
This is called in the middle of rendering the tool ribbon. Subclasses can inject their own content into the ribbon by writing it out in this method. This content is best wrapped within a single td element. It can also consist of multiple td elements. classmethod SaveData(namespace, value) as
To achieve a fixed position for elements within the ribbon, for a fixed width page you can use a single enclosing td that contains a table and a single tr, with td elements inside that single tr that contain your content for the ribbon.
To achieve a fixed position for elements within the ribbon, for a page whose width varies depending on its contents (thereby stretching the ribbon) you can use multiple td elements to contain your content and then a final td element that is empty and has width 40% (or so) to push your contents towards the left and keep them in their proper locations.
Get user input and send to server to save settings. method getPageTitle() as
If this is called at load time, then load will be true.
Given the newly seleted namespace, update the source control content