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?

ZENTest.ProxyObjectTest

class ZENTest.ProxyObjectTest extends %ZEN.Component.page

Zen test page for proxy objects. This page demonstrates the various ways in which Zen pages can invoke methods using proxy objects.

Method Inventory

Parameters

parameter APPLICATION = ZENTest.TestApplication;
Class name of application this page belongs to.
parameter DOMAIN = ZENTEST;
Domain used for localization.
parameter PAGENAME = Proxy Object Test Page;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.

Methods

classmethod DrawHTML(pSeed As %String) as %Status
Draw contents of HTML box.
classmethod serverClassMethodMod(pProxy As %ZEN.proxyObject) as %Boolean [ ZenMethod ]
Server class method that modifies the proxy. This is a synchronous call.
classmethod serverClassMethodReturn() as %ZEN.proxyObject [ ZenMethod ]
Server class method that modifies proxy. This is a synchronous call.
method serverInstanceMethod(pProxy As %ZEN.proxyObject) [ ZenMethod ]
Server instance method
method serverInstanceMethodMod(pProxy As %ZEN.proxyObject) as %Boolean [ ZenMethod ]
Server instance method that modifies the proxy. This is a synchronous call.
clientmethod testHTMLUpdate() [ Language = javascript ]
Test of server class method that updates the HTML component.
clientmethod testServerClassMethodMod() [ Language = javascript ]
Test of server class method that modifies the proxy object.
clientmethod testServerClassMethodReturn() [ Language = javascript ]
Test of server class method that returns a proxy object.
clientmethod testServerInstanceMethod() [ Language = javascript ]
Test of server instance method.
clientmethod testServerInstanceMethodMod() [ Language = javascript ]
Test of server instance method that modifies the proxy object.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab