Home > Class Reference > ENSLIB namespace > CSPX.Portal.DefaultSetting


class CSPX.Portal.DefaultSetting extends CSPX.Portal.Template

Zen based System Default Settings page for add or edit

Property Inventory

Method Inventory


parameter APPLICATION = CSPX.Portal.Application;
Class name of application this page belongs to.
parameter PAGENAME = Default Setting;
Displayed name of this page.


property PID as %ZEN.Datatype.string (ZENURL = "PID");
The last selected PID
Property methods: PIDDisplayToLogical(), PIDGet(), PIDIsValid(), PIDLogicalToDisplay(), PIDLogicalToOdbc(), PIDNormalize(), PIDSet()
property isNew as %String (ZENURL = "isNew") [ InitialExpression = "0" ];
Property methods: isNewDisplayToLogical(), isNewGet(), isNewIsValid(), isNewLogicalToDisplay(), isNewLogicalToOdbc(), isNewNormalize(), isNewSet()
property msgAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Use the form below to create a new default setting in namespace %1: ") ];
Property methods: msgAddDisplayToLogical(), msgAddGet(), msgAddIsValid(), msgAddLogicalToDisplay(), msgAddLogicalToOdbc(), msgAddNormalize(), msgAddSet()
property msgEdit as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Use the form below to edit a default setting in namespace %1: ") ];
Property methods: msgEditDisplayToLogical(), msgEditGet(), msgEditIsValid(), msgEditLogicalToDisplay(), msgEditLogicalToOdbc(), msgEditNormalize(), msgEditSet()
property msgTable as %ZEN.Datatype.caption;
Message that is built with the namespace in it.
Property methods: msgTableDisplayToLogical(), msgTableGet(), msgTableIsValid(), msgTableLogicalToDisplay(), msgTableLogicalToOdbc(), msgTableNormalize(), msgTableSet()


method %OnAfterCreatePage() as %Status [ Language = objectscript ]
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
classmethod CheckAllBlanks(string) as %Boolean [ Language = objectscript, ZenMethod ]
classmethod DrawTitle(pSeed As %String) as %Status [ Language = objectscript ]
Used to draw title for this page. pHalpAddress is need to build the link for Help for this page.
classmethod SaveData(pid, production, itemname, hostclassname, settingname, settingvalue, desc) as %ZEN.proxyObject [ Language = objectscript, ZenMethod ]
Save general association data to server
method UpdateDetails(pid) as %Boolean [ Language = objectscript, ZenMethod ]
Update contents of setting. This method is called when user clicked a row to "Edit". Load data into the fields.
clientmethod cancelSetting() [ Language = javascript ]
Cancel out of Add/Edit. Unselect the selected row so to make rowSelected invoked by refreshTable not to go through.
clientmethod saveSetting() [ Language = javascript ]
Get user selection and send to server to save settings.

Inherited Members

Inherited Properties

Inherited Methods