This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

%ZEN.Mojo.WidgetReference.HomeTemplate

class %ZEN.Mojo.WidgetReference.HomeTemplate extends %ZEN.Mojo.Component.contentTemplate

Method Inventory (Including Private)

Parameters

parameter DOMAIN;

Methods (Including Private)

classmethod %OnGetJSONContent(pProviderName 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. 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 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 getLayout(key, criteria) [ Language = javascript ]
Creates the layout object for the page
clientmethod onGetContent(providerName, key, criteria) [ Language = javascript ]
Client-side content provider method. providerName is the name of the json provider. 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 (Including Private)

Inherited Methods (Including Private)

FeedbackOpens in a new window