ZMbasics.Tutorial1.Template
class ZMbasics.Tutorial1.Template extends %ZEN.Mojo.Component.contentTemplate
This is the template for the ZM page ZMbasics.Tutorial1.HomePage. The ZM page invokes its page method getContent(), which in turn invokes the onGetContent() method of this class (the associated template class). Depending on the first argument (pProviderName), onGetContent() either:- Invokes another client-side method of this class, and obtains a JSON layout object.
- Returns null, so that ZM calls the server-side %OnGetJSONContent() and obtains a JSON data object. In this case, onGetContent() always returns a JSON layout object, and this sample does not contain an implementation of %OnGetJSONContent().
Next tutorial in the series: ZMbasics.Tutorial2.HomePage.
Method Inventory
Parameters
Methods
This method must create and return a JS object with layout information. Specifically, the JS object has a set of children, each of which corresponds to a block on the page. To create this JS object, it is necessary to know only the following:
- Syntax to create a JS object.
- The available layout objects to use as children.
- The properties that you can set for these layout objects.
- The syntax for referring to the available data. (Not applicable here.)
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()
- %OnGetJSONContent()
- %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()
- onchange()
- onevent()
- onloadHandler()
- onselect()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- render()
- renderContents()
- renderSVG()
- setHidden()
- setOverlayMode()
- setProperty()
- startProgressBar()
- stopProgressBar()