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

CSPX.Portal.LookupSettings

class CSPX.Portal.LookupSettings extends CSPX.Portal.Template

Zen based LookupSettings UI for Ensemble 2008.1

Property Inventory (Including Private)

Method Inventory (Including Private)

Parameters

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

Properties (Including Private)

property LastCell as %String;
Temporarily saved cell value prior to oneditcell
Property methods: LastCellDisplayToLogical(), LastCellGet(), LastCellIsValid(), LastCellLogicalToDisplay(), LastCellLogicalToOdbc(), LastCellNormalize(), LastCellSet()
property msgEnterKey as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please enter a Key.") ];
Property methods: msgEnterKeyDisplayToLogical(), msgEnterKeyGet(), msgEnterKeyIsValid(), msgEnterKeyLogicalToDisplay(), msgEnterKeyLogicalToOdbc(), msgEnterKeyNormalize(), msgEnterKeySet()
property msgEnterTable as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please enter a Table name.") ];
Property methods: msgEnterTableDisplayToLogical(), msgEnterTableGet(), msgEnterTableIsValid(), msgEnterTableLogicalToDisplay(), msgEnterTableLogicalToOdbc(), msgEnterTableNormalize(), msgEnterTableSet()
property msgNothing as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Table name is empty. Nothing to delete.") ];
Property methods: msgNothingDisplayToLogical(), msgNothingGet(), msgNothingIsValid(), msgNothingLogicalToDisplay(), msgNothingLogicalToOdbc(), msgNothingNormalize(), msgNothingSet()

Methods (Including Private)

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 CheckAllBlanks(string) as %Boolean [ ZenMethod ]
method CreateDataSet(pDataSet As %ZEN.Auxiliary.dataSet) as %Status
Build dataset for grid. Called from both CreateGrid and RefreshGrid.
method CreateGrid(pGrid As %ZEN.Component.dynaGrid, pDataSet As %ZEN.Auxiliary.dataSet) as %Status
Server-side callback to provide data for the dynaGrid. Called when the page is drawn.
classmethod DeleteGlobal(global, key) as %String [ ZenMethod ]
Server method to delete settings
classmethod DrawDetails(seed As %String) as %Status
Called to build the details table for the selected table
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.
classmethod Export(Filename As %String, Tablename As %String) as %Status [ ZenMethod ]
method FileExists(filename As %String) as %String [ ZenMethod ]
classmethod Import(Filename As %String) as %Status [ ZenMethod ]
method RefreshGrid(pGrid As %ZEN.Component.dynaGrid, pMode As %String = "") [ ZenMethod ]
Refresh grid dataset from the server.
method ReverseEscape(string As %String) as %String [ ZenMethod ]
method SaveGlobal(global, key, value, oldvalue="", replace="false", column=0) as %String [ ZenMethod ]
Server method to save settings
clientmethod clearTableList() [ Language = javascript ]
clientmethod deleteKey(key) [ Language = javascript ]
User clicked the Delete button for a key or Delete Table for table. If Delete then row number is passed in.
clientmethod exportTable() [ Language = javascript ]
clientmethod importTable() [ Language = javascript ]
classmethod msgDelete(global) as %String [ ZenMethod ]
classmethod msgExportSuccessful() as