Skip to main content

EnsPortal.Dialog.ObjectEntry

class EnsPortal.Dialog.ObjectEntry extends EnsPortal.Dialog.standardDialog

This page is used to enter a context or Document object for Rule Testing UI

Property Inventory

Method Inventory

Parameters

parameter APPLYBUTTON = 0;
Inherited description: If true, then this dialog displays an Apply button.
parameter JSINCLUDES = zenCSLM.js;
JavaScript debug library Usage: ZLM.dumpObj(object);
parameter PAGENAME = Rule Testing - Context Entry;
Inherited description: Optional. This is the display name used for this page. If not provided, the class name is used.
parameter PRIVATE = 1;
Inherited description: Controls the access to the page, it can be set to one of the following:

  • PRIVATE=0 - Page can be linked to/bookmarked
  • PRIVATE=1 - Can only be referenced from another CSP page
The user needs initially to enter the site through a PUBLIC page.
parameter RESOURCE = %Ens_TestingService:USE;
User needs USE permissions on the %Ens_TestingService resource to view this page.

Properties

property Context as %String (MAXLEN = 128, ZENURL = "CONTEXT");
Property methods: ContextDisplayToLogical(), ContextGet(), ContextIsValid(), ContextLogicalToDisplay(), ContextLogicalToOdbc(), ContextNormalize(), ContextSet()

Methods

method %OnAfterCreatePage() as %Status
Inherited description: Avoid writing out the session cookie if we are in a Studio session.
method %OnGetPageName() as %String
Get the (localized) name of the page.
method %OnGetSubtitle() as %String
Get the (localized) subtitle string for the dialog.
method %OnGetTitle() as %String
Get the (localized) title string for the page.
method DrawContextForm(pSeed As %String) as %Status
Draw input data form for selected Context type.
method PopulateListOfContextTypes()
Populate control with the list of context types for this Rule.
clientmethod changeContextType() [ Language = javascript ]
User selected a request type.
clientmethod getDialogValue() [ Language = javascript ]
Inherited description: Get the value that will be applied when the user presses the OK button. This is implemented by subclasses.
clientmethod ondialogFinish(action) as %Boolean [ Language = javascript ]
This callback is called when the user presses the OK button. If this returns false, then the dialog stays open.
clientmethod ondialogStart() [ Language = javascript ]
This callback, if defined, is called when the dialog page is loaded.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab