ZMbasics.Tutorial3.HomePage
class ZMbasics.Tutorial3.HomePage extends %ZEN.Mojo.basePage
Sample Zen Mojo tutorial page. Use this tutorial after working with ZMbasics.Tutorial2.HomePage.The primary difference from Tutorial 2 is that *this* tutorial demonstrates the onselect() event handler.
This ZM page class uses the template class ZMbasics.Tutorial3.Template.
Next tutorial in the series: ZMbasics.Tutorial4.HomePage.
Method Inventory
Parameters
parameter DOMAIN = Zen Mojo Demo;
Localization domain; best practice is to always specify this
parameter PROVIDERLIST = mainViewData;
List of server-side JSON providers for ZM to create; each of these can send a JSON string to the client.
This works as follows: The parameter is a comma-separated list of strings.
For each string in this list, ZM creates an instance of the associated template class (see TEMPLATECLASS)
and invokes its %OnGetJSONContent() method, passing the PROVIDERLIST list item as the first argument.
The method returns a set of JSON strings, which are available on the client.
In this example, there is only one JSON provider.
parameter TEMPLATECLASS = ZMbasics.Tutorial3.Template;
Name of the default template class that this page uses.
Methods
method %GetAppSettings(pPage As %String = "", pMode As %String = "") as %ZEN.proxyObject
Method override for this page. This method defines the application name,
which controls the name shown on the browser tab.
This implementation erases the default contents of the header area.
clientmethod adjustContentSize(load, width, height) [ Language = javascript ]
Implementation for this page. This method adjusts the size of the documentView components
within the content area based on the current width and height of the screen.
In this case there is only one documentView.
Inherited Members
Inherited Properties
- %appSettings
- %condition
- %import
- %includeFiles
- %page
- %resource
- align
- aux
- backgroundTimerInterval
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- containerStyle
- cssLevel
- currMode
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- embedded
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- linkList
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- remoteBrokerAddress
- remoteNamespace
- showLabel
- slice
- templateDispatchBaseNamespace
- templateDispatchMode
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenMojoVersion
- zenPersistentPopup
Inherited 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()
- %GetMojoJSStrings()
- %GetPageName()
- %GetParameter()
- %GetTemplateClassByName()
- %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()
- %OnGetSubtemplateList()
- %OnGetSubtemplateMeta()
- %OnGetTemplateList()
- %OnGetTemplateMeta()
- %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()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- GetSubtemplateList()
- GetTemplateList()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsPrivate()
- Link()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- SetSessionLanguage()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- ZMojoDrawBackgroundDiv()
- ZMojoDrawContentBackground()
- ZMojoDrawFooterGroup()
- ZMojoDrawHeaderImage()
- addChild()
- addChildAfter()
- addChildBefore()
- adjustSizes()
- cancelPopup()
- changeAreaHandler()
- childrenMutated()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getContent()
- getContentHeight()
- getContentProvider()
- getContentWidth()
- getCurrArea()
- getEnclosingDiv()
- getFooterHeight()
- getHeaderHeight()
- getHidden()
- getHintElement()
- getLabelElement()
- getMaxContentWidth()
- getOpener()
- getOrientation()
- getProperty()
- getSettings()
- getSubtemplate()
- getSubtemplateInfo()
- getSubtemplateProvider()
- getTemplate()
- getTemplateForArea()
- getType()
- gotoArea()
- gotoAreaKB()
- gotoPage()
- invalidate()
- invokeSuper()
- isEmbedded()
- isMobile()
- isOfType()
- launchPopupWindow()
- loadSubtemplate()
- loadSubtemplateNS()
- loadTemplateNS()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopstateHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onloadHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popState()
- popstateHandler()
- popupActionHandler()
- pushState()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- showMessage()
- startModal()
- startProgressBar()
- stopProgressBar()
- submitData()
- updateView()