Skip to main content

%ZEN.StudioDocument.ZENPageEditor

class %ZEN.StudioDocument.ZENPageEditor extends %ZEN.StudioDocument.AbstractEditor

Editor logic for a Zen Page Studio Document.

Method Inventory

Parameters

parameter DOMAIN = %ZEN;
Inherited description: Localization domain

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.
method DrawHTMLContent(seed As %ZEN.Datatype.string) as %Status
DrawHTMLContent
clientmethod getComponentXML(obj) [ Language = javascript ]
clientmethod getTargetPage() [ Language = javascript ]
Return the target page loaded within this editor.
clientmethod onCreate() [ Language = javascript ]
This client event, if present, is called when this component is instantiated. This allows for any additional client-side initialization for this object.
Note that this must be a client-side method.
clientmethod onSetDocument(state) [ Language = javascript ]
Inherited description: Notification that the user has changed the XML version of this document.
state is the contents of the XML editor pane.
clientmethod onSetProperty(prop, value) [ Language = javascript ]
User has changed a property value within the Inspector.
clientmethod onStartEditor() [ Language = javascript ]
This client event, if present, is fired when editor is loaded.
clientmethod selectComponent(page, obj, evt) [ Language = javascript ]
User has selected a component in the editor pane.
clientmethod updateInspector() [ Language = javascript ]
Update the inspector with details on the selected component.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab