Skip to main content

CSPX.Portal.DefaultSettings

class CSPX.Portal.DefaultSettings extends CSPX.Portal.Template

Zen based LookupSettings UI for Ensemble 2008.1

Property Inventory

Method Inventory

Parameters

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

Properties

property InitTab as %ZEN.Datatype.integer [ InitialExpression = "1" ];
When tabs control is opened, set current tab to this value.
Property methods: InitTabDisplayToLogical(), InitTabGet(), InitTabIsValid(), InitTabLogicalToDisplay(), InitTabLogicalToOdbc(), InitTabNormalize(), InitTabSet()
property msgAdd as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Use the form below to create a new setting: ") ];
Property methods: msgAddDisplayToLogical(), msgAddGet(), msgAddIsValid(), msgAddLogicalToDisplay(), msgAddLogicalToOdbc(), msgAddNormalize(), msgAddSet()
property msgEdit as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Edit default setting: ") ];
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()

Methods

method %OnAfterCreatePage() as %Status
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 DeleteData(pid) as %String [ ZenMethod ]
Delete an association context
classmethod DrawTitle(pSeed As %String) as %Status
Used to draw title for this page. pHalpAddress is need to build the link for Help for this page.
clientmethod addSetting() [ Language = javascript ]
Enable edit fields. Clear table selection and initialize all fields.
clientmethod deleteSetting(pid) [ Language = javascript ]
Delete existing association.
clientmethod editSetting(pid) [ Language = javascript ]
User clicked the "Edit" link which is there for clearity and consistency. No need to do anything here as onselectrow is going to kick in.
clientmethod refreshTable() [ Language = javascript ]
This method is called after a setting is saved or deleted.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab