ZMdemo.LoadAsync.baseTemplate
class ZMdemo.LoadAsync.baseTemplate extends %ZEN.Mojo.Component.contentTemplate
Method Inventory
Parameters
parameter DOMAIN = Zen Mojo Demo;
Domain used for localization.
parameter NAMESPACE = http://www.intersystems.com/zen/mojo/demo/loadAsync;
Inherited description: This is the XML namespace used for library components.
Methods
classmethod %OnGetJSONContent(pWhich As %String, pKey As %String, ByRef pParms, Output pObject As %RegisteredObject, pCriteria As %RegisteredObject, pLoad As %Boolean = 0) as %Status
Server-side method to provide content to JSON providers.
pWhich is the name of the provider.
pKey is an app-defined key that is used to indicate which content is to be served.
pCriteriais an object containing search criteria. This is used for searching.
pParms is an array of additional parameters from the JSON provider. (not current used).
pObject is the object that will be served to the client in JSON format.
pLoad is true is this is called when the page is first being served. In this case, this method will be called even though there may a client-side method used to load the content.
pWhich is the name of the provider.
pKey is an app-defined key that is used to indicate which content is to be served.
pCriteriais an object containing search criteria. This is used for searching.
pParms is an array of additional parameters from the JSON provider. (not current used).
pObject is the object that will be served to the client in JSON format.
pLoad is true is this is called when the page is first being served. In this case, this method will be called even though there may a client-side method used to load the content.
clientmethod getData(key, criteria) [ Language = javascript ]
clientmethod getLayout(key, criteria) [ Language = javascript ]
Creates the layout object for the page
clientmethod onGetContent(which, key, criteria) [ Language = javascript ]
Client-side content provider method.
which is the name of the content to return.
key is the key value associated with the request.
criteria is the search criteria associated with the request.
clientmethod onchange(key, value, final, docViewId) [ Language = javascript ]
Inherited description: Notification that a change event has happened
clientmethod onselect(key, value, docViewId) [ Language = javascript ]
Inherited description: Notification that a select event has happened
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- composite
- containerStyle
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelStyle
- name
- onafterdrag
- onbeforedrag
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- showLabel
- slice
- title
- tuple
- valign
- visible
- width
- window
Inherited Methods
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetEventHandlers()
- %GetMojoJSStrings()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnSubmitData()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- exposeComponent()
- findElement()
- fireOnUpdateEvent()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getProperty()
- getSettings()
- getType()
- invokeSuper()
- isOfType()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onLoadTemplate()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onStartModalHandler()
- onevent()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- render()
- renderContents()
- renderSVG()
- setHidden()
- setOverlayMode()
- setProperty()
- startProgressBar()
- stopProgressBar()