%ZEN.Mojo.abstractPage
abstract class %ZEN.Mojo.abstractPage extends %ZEN.Component.page, %ZEN.Mojo.localizableObject, %ZEN.Mojo.abstractPageOverride
Foundation class for all pages within Zen Mojo This provides the core functionality shared by all pages within the framework.Property Inventory
Method Inventory
- %GetAppSettings()
- %OnAfterCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnUseSoftModals()
- SetSessionLanguage()
- getOrientation()
- isEmbedded()
- isMobile()
- onServerMethodError()
- onloadHandler()
Parameters
parameter APPLICATION;
Class name of application this page belongs to.
parameter DOMAIN = %ZEN;
Inherited description: Localization domain
parameter LOGICALNAME = HOME;
Logical name of this page.
Overriden by application class.
parameter PAGENAME = Zen Mojo;
Displayed name of this page.
Overriden by application class.
parameter POSTCOMPILEACTIONS = HTML;
Internal parameter.
There is nothing to queue up for page classes.
Properties
property %appSettings as %ZEN.proxyObject;
Server-side copy of application settings object
Property methods: %appSettingsGet(), %appSettingsGetSwizzled(), %appSettingsIsValid(), %appSettingsNewObject(), %appSettingsSet()
property currMode as %ZEN.Datatype.string (ZENURL = "MODE");
Optional display mode of the page.
The page can provide a different appearance depending on this value.
This value is passed on the application class.
Property methods: currModeDisplayToLogical(), currModeGet(), currModeIsValid(), currModeLogicalToDisplay(), currModeLogicalToOdbc(), currModeNormalize(), currModeSet()
property embedded as %ZEN.Datatype.boolean (ZENURL = "EMBED") [ InitialExpression = 0 ];
If true, only show the core content.
Property methods: embeddedDisplayToLogical(), embeddedGet(), embeddedIsValid(), embeddedLogicalToDisplay(), embeddedLogicalToOdbc(), embeddedLogicalToXSD(), embeddedNormalize(), embeddedSet(), embeddedXSDToLogical()
property layout as %ZEN.Datatype.string (MAXLEN = 250, ZENENCRYPT = 0) [ InitialExpression = ..#DEFAULTLAYOUT ];
Specifies how components within this group should be layed out. (VALUELIST = ",vertical,horizontal")
Property methods: layoutDisplayToLogical(), layoutGet(), layoutIsValid(), layoutLogicalToDisplay(), layoutLogicalToOdbc(), layoutNormalize(), layoutSet()
property linkList as array of %String;
Array of named links (from application settings).
Property methods: linkListBuildValueArray(), linkListCollectionToDisplay(), linkListCollectionToOdbc(), linkListDisplayToCollection(), linkListDisplayToLogical(), linkListGet(), linkListGetObject(), linkListGetObjectId(), linkListGetSwizzled(), linkListIsValid(), linkListLogicalToDisplay(), linkListLogicalToOdbc(), linkListNormalize(), linkListOdbcToCollection(), linkListSet(), linkListSetObject(), linkListSetObjectId()
Methods
method %GetAppSettings() as %ZEN.proxyObject
Return an object containing the various configured settings for the portal.
method %OnAfterCreatePage() as %Status
This callback is called after the server-side page
object and all of its children are created.
method %OnDetermineCSSLevel() as %Integer
Inherited description: This callback method determines lets a page specify level of CSS support is used by this page.
The default is to return "", which indicates that the built-in ZEN CSS level
detection is used. A page can override this and return 2 or 3.
method %OnDrawHTMLHead() as %Status
This callback is called at the end of the HTML HEAD section of the page.
(default implementation is a simple expression).
(default implementation is a simple expression).
method %OnDrawHTMLMeta() as %Status
This callback is called at the start of the HTML HEAD section of the page (just after the title).
It allows a page to write out meta tags, if desired. (default implementation is a simple expression).
It allows a page to write out meta tags, if desired. (default implementation is a simple expression).
method %OnDrawObjectProperties()
Ensure that we include the correct localization data for the page and its templates.
classmethod %OnUseSoftModals() as %Boolean
Inherited description: Return whether the current page should use soft modal divs.
The default behaviour is to return 1 for the current instance, but users may set the
^%ISC.ZEN.useSoftModals global change this system-wide.
In some cases, it may be worth modifying the value of the flag based on
the user agent, particularly if users are expected to access the application
from mobile devices where new windows behave differently.
clientmethod getOrientation() [ Language = javascript ]
Return the device orientation.
clientmethod isEmbedded() [ Language = javascript ]
Test if this page is "embedded".
clientmethod isMobile() [ Language = javascript ]
Helper method; test if we are running in a mobile client.
clientmethod onServerMethodError(err, errObject) [ Language = javascript ]
Override onServerMethodError to catch HyperEvent errors.
clientmethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- 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
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- 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()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnFinishBackgroundTask()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %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()
- 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()
- 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()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- startModal()
- startProgressBar()
- stopProgressBar()