Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [CSPX] >  [Portal] >  [ProductionItemSettings]
Private  Storage   

class CSPX.Portal.ProductionItemSettings extends %ZEN.Component.page

This page shows the default values for each item in the Specific Settings, the source for each default, and allow user to choose them.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 2 9


Summary

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

Properties
%condition %import %includeFiles %page
%resource ItemName ProductionName 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
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 %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 %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 ConvertParameter Decrypt
DrawHeader DrawJS DrawRow DrawTable
Encrypt EscapeHTML EscapeURL GetNames
HyperEventCall HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore cancelPopup childrenMutated
closeForm correctIELayering createComponent createComponentNS
deleteComponent dragFinishHandler dragHandler dragNotifyHandler
dragStartHandler dropHandler dropStartHandler endModal
exposeComponent findElement fireOnResizeEvent fireOnUnloadEvent
fireOnUpdateEvent firePopupAction getChildIndex getComponent
getComponentById getEnclosingDiv getHidden getHintElement
getLabelElement getOpener getProperty getSettings
getType gotoPage invokeSuper isOfType
launchPopupWindow makeId onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onServerMethodCall onServerMethodError onServerMethodReturn
onStartModalHandler ondisabledHandler onkeydownHandler onkeyupHandler
onlayoutHandler onloadHandler onlogoutHandler onoverlayHandler
onresizeHandler onunloadHandler onupdateHandler popupActionHandler
refreshContents removeChild render renderContents
renderSVG resetForm saveForm setComponentId
setHidden setOverlayMode setProperty setPropertyAll
setTraceOption startModal startProgressBar stopProgressBar


Parameters

• parameter APPLICATION = "CSPX.Portal.Application";
Class name of application this page belongs to.
• parameter DOMAIN = "Ensemble";
Domain used for localization.
• parameter PAGENAME = "Production Specific Settings";
Displayed name of this page.

Properties

• property ItemName as %String(ZENURL="$ID2");
Item Name
• property ProductionName as %String(ZENURL="$ID1");
Production Name

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.
• method DrawHeader(pSeed As %String) as %Status
• method DrawJS()
Draw javascript code that will be used by CSP code.
• method DrawRow(field As %Integer, lblLocal)
Draw a property
• method DrawTable(pSeed As %String) as %Status
Display table based on item. $lb(Target,Name,Value,ValueType,Default,DefaultType,Description,Type,MAXLEN,MINVAL,MAXVAL,VALUELIST,DISPLAYLIST,IsRequired) ValueType tells you where this Value is coming from: $$$eConfigSettingValueTypeProperty: this value is from class definition property default $$$eConfigSettingValueTypeSystem: this value is from the default settings $$$eConfigSettingValueTypeProduction: this value is from production definition. DefaultType is similar to ValueType, it is the ValueType of the Default property: $$$eConfigSettingValueTypeProperty: this default value is from class definition property default $$$eConfigSettingValueTypeSystem: this default value is from the default settings pSeed = 0 is the initial load. pSeed = 1 is reset. Black means it's defined in the production Blue means it's coming from default settings Green means it's coming from class definition
• method GetNames(pSelected As %String) as %String [ ZenMethod ]
Given a list of field numbers, return the names of the fields and its default color. Set %session.Data("ItemSpecific",field,1)= "" so that at save time, it will not build XML.
• method closeForm() [ Language = javascript ]
Close form. Whatever changes user made on this form that have not been saved will be discarded.
• method resetForm() [ Language = javascript ]
Reload form. Whatever changes user made on this form that have not been saved will be discarded.
• method saveForm() [ Language = javascript ]
Save whatever changes user made to %session so that the main form can update.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.