Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / CSPX.Portal.LookupSettings
Private  Storage   

CSPX.Portal.LookupSettings


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

Zen based LookupSettings UI for Ensemble 2008.1

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4 28


Summary


This is a Zen Page class. It belongs to the application CSPX.Portal.Application.

Properties
%condition %import %includeFiles %page
%resource LastCell StdTitle align
aux backgroundTimerInterval cellAlign cellSize
cellStyle cellVAlign children composite
containerStyle cssLevel disabled dragAndDrop
dragEnabled dropEnabled enclosingClass enclosingStyle
error groupClass groupStyle height
hidden hint hintClass hintStyle
id index label labelClass
labelDisabledClass labelPosition labelStyle layout
msgEnterKey msgEnterTable msgNothing name
onafterdrag onbeforedrag onclick ondrag
ondrop onhide onrefresh onshow
onupdate parent showLabel slice
title tuple useSVG useSoftModals
valign visible width window
zenPersistentPopup

Methods
%AddChild %AddChildAfter %AddChildBefore %AddComponent
%AddImportedComponents %AddLocatorLinks %AddToSaveSet %ApplyURLParms
%Attr %BindExport %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML %DrawHTML
%DrawHTMLPage %DrawJSStrings %DrawObjectDefinitions %EnclosingDivId
%EndBackgroundMethod %EndScript %Eval %EvalC
%Extends %ForceClientRender %GetChildIndex %GetComponent
%GetComponentById %GetComponentByName %GetEventHandlers %GetLinks
%GetNamespaces %GetPageName %GetParameter %GetValueById
%GetValueByName %GetXMLName %IsA %IsModified
%Link %LinkCSS %LinkScript %MakeId
%New %NormalizeObject %ObjectModified %OnAddToPageAfter
%OnAddToPageBefore %OnAfterCreatePage %OnBeforeCreatePage %OnCreateApplication
%OnCreatePage %OnDetermineCSSLevel %OnDrawEnclosingDiv %OnDrawHTMLBody
%OnDrawHTMLHead %OnDrawHTMLMeta %OnDrawObjectProperties %OnFinishBackgroundTask
%OnMonitorBackgroundTask %OnMutateChildren %OnObjectSynch %OnPreHTTP
%OnSubmit %OnUseSoftModals %OnZENDeserialize %OriginalNamespace
%PackageName %QuoteValue %QuoteValueL10N %RemoveChild
%RemoveChildren %RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod
%Self %SerializeObject %SetBackgroundMethodStatus %SetErrorById
%SetErrorByName %SetModified %SetValueById %SetValueByName
%SetValuesByName %StartScript %ValidateObject %ZENVersion
CheckAllBlanks ConvertParameter CreateDataSet CreateGrid
Decrypt DeleteGlobal DrawDetails DrawTitle
Encrypt EscapeHTML EscapeURL Export
FileExists GetQuickLinks HyperEventCall HyperEventHead
Import Include InsertHiddenField InsertHiddenFields
IsPrivate Link OnHTTPHeader OnPage
OnPageError OnPostHTTP OnPostHyperEvent OnPreHTTP
OnPreHyperEvent Page QuoteJS RefreshGrid
ReverseEscape RewriteURL SaveGlobal ShowError
StartTimer StopTimer ThrowError UnescapeHTML
UnescapeURL XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType addChild addChildAfter addChildBefore
arrowClick cancelPopup childrenMutated clearTableList
correctIELayering createComponent createComponentNS deleteComponent
deleteKey dragFinishHandler dragHandler dragNotifyHandler
dragStartHandler dropHandler dropStartHandler endModal
exportTable exposeComponent findElement fireOnResizeEvent
fireOnUnloadEvent fireOnUpdateEvent firePopupAction getChildIndex
getComponent getComponentById getEnclosingDiv getHidden
getHintElement getLabelElement getOpener getProperty
getSettings getType gotoPage importTable
invokeSuper isOfType launchPopupWindow makeId
msgDelete msgExportSuccessful msgImportFailed msgOverwrite
newTable onCreate onDelete onDisplayHandler
onEndModalHandler onPopupAction onRefreshContents onSerialize
onServerMethodCall onServerMethodError onServerMethodReturn onStartModalHandler
ondisabledHandler onkeydownHandler onkeyupHandler onlayoutHandler
onloadHandler onlogoutHandler onoverlayHandler onresizeHandler
onunloadHandler onupdateHandler popupActionHandler refreshContents
reloadDetails removeChild render renderContents
renderSVG resetForm saveKey setComponentId
setHidden setOverlayMode setProperty setPropertyAll
setTraceOption showDocumentation startModal startProgressBar
stopProgressBar updateKey


Parameters


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

Properties


• property LastCell as %String;
Temporarily saved cell value prior to oneditcell
• property msgEnterKey as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please enter a Key.") ];
• property msgEnterTable as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Please enter a Table name.") ];
• property msgNothing as %ZEN.Datatype.caption [ InitialExpression = $$$Text("Table name is empty. Nothing to delete.") ];

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 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
• method clearTableList() [ Language = javascript ]
• method 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.
• method exportTable() [ Language = javascript ]
• method importTable() [ Language = javascript ]
• classmethod msgDelete(global) as %String [ ZenMethod ]
• classmethod msgExportSuccessful() as %String [ ZenMethod ]
• classmethod msgImportFailed(filename) as %String [ ZenMethod ]
• classmethod msgOverwrite(filename) as %String [ ZenMethod ]
• method newTable() [ Language = javascript ]
User clicked new and we clear the fields and put cursor on Table field
• method onPopupAction(popupName, action, value) [ Language = javascript ]
Returning from file select dialog and setting the value into the Filename field
• method onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
• method reloadDetails() [ Language = javascript ]
User selected an existing lookup table from the drop-down
• method resetForm(gblFlag) [ Language = javascript ]
Clear edit form fields
• method saveKey() [ Language = javascript ]
User clicked Save and we validate values and then process
• method updateKey(tRow) [ Language = javascript ]
User clicked Edit to update key and value fields for a selected global.