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?

ZENDemo.FormDemo

class ZENDemo.FormDemo extends %ZEN.Component.page

This is the Form Demonstration page for the Zen demonstration application.

Property Inventory

Method Inventory

Parameters

parameter APPLICATION = ZENDemo.Application;
Class name of application this page belongs to.
parameter DOMAIN = ZENDEMO;
Domain used for localization.
parameter PAGENAME = Form Demo;
Displayed name of this page.

Properties

property patientID as %ZEN.Datatype.string (ZENURL = "ID");
This property holds the patient ID passed in by URL (if any).
Property methods: patientIDDisplayToLogical(), patientIDGet(), patientIDIsValid(), patientIDLogicalToDisplay(), patientIDLogicalToOdbc(), patientIDNormalize(), patientIDSet()

Methods

method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
classmethod %OnSubmit(pSubmit As %ZEN.Submit) as %Status
submit handler: This method is called when this form is submitted. The submitted values are placed within a special submit object and are indexed by control name.
Return an array of quick links to be displayed by the locator bar.
classmethod LoadPatient(pForm As %ZEN.Component.form, pID As %ZEN.Datatype.string) [ ZenMethod ]
Load given patient data into the form.
clientmethod calendarSettings(settings) [ Language = javascript ]
Apply additional settings to popup calendar.
clientmethod resetForm() [ Language = javascript ]
Reset the contents of the form.
clientmethod selectPatient(cb) [ Language = javascript ]
User has selected a new Patient from the list.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab