Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

ZMdemo.html5.baseTemplate

class ZMdemo.html5.baseTemplate extends %ZEN.Mojo.Component.contentTemplate

This class feeds the

Method Inventory

Parameters

parameter NAMESPACE = http://www.intersystems.com/zen/mojo/demo/html5;
Inherited description: This is the XML namespace used for library components.

Methods

classmethod %OnGetJSONContent(pProviderName As %String, pKey As %String, ByRef pParms, Output pResponse As %RegisteredObject, pCriteria As %RegisteredObject, pLoad As %Boolean = 0) as %Status
Server-side method to provide content to JSON providers.
pProviderName 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 criteria. If provided it as a %ZEN.proxyObject
pParms is an array of additional parameters from the JSON provider. (not current used).
pResponse 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.
classmethod EncodeColor(pColorName As %String) as %String
Returns the hexadecimal RGB color codes for color names.

Only colors enabled for the FavoriteColor property of Sample.Person are considered here.

clientmethod getData(key, criteria) [ Language = javascript ]
clientmethod getLayout(key, criteria) [ Language = javascript ]
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 ]
Notification that a change event has happened
clientmethod onselect(key, value, docViewId) [ Language = javascript ]
Inherited description: Notification that a select event has happened
clientmethod pageShow(key) [ Language = javascript ]
This method is called, whenever the rendering of a layout is completed.
clientmethod selectContentPane(layoutkey, layoutcriteria, documentkey, documentcriteria, push) [ Language = javascript ]
Updates the content of the inner document view.
clientmethod selectMenuItem(menukey) [ Language = javascript ]
Controls the visual selection of left menu items.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab