Enable styles that are common to all pages and dialogs for the EnsPortal application.
parameter APPLYBUTTON = 1;
If true, then this dialog displays an Apply button.
parameter CLOSEONENTER = 0;
Allow popup to close as if clicking button "OK" when user presses the ENTER key.
Usually this parameter would be set to 1 if the dialog does not contain input fields.
parameter CLOSEONESC = 1;
Allow popup to close as if clicking button "Cancel" or "X" when user presses the ESC key.
If this parameter has value 0, the popup will not close when user presses ESC.
If this parameter has value 1, the popup will be dismissed (canceled) when user presses ESC.
If this parameter has value 2, and the popup has button "OK", the popup will close as if clicking "OK".
parameter DOMAIN = "Ensemble";
Localization domain
parameter EDITRESOURCE;
Resource for subclasses to indicate whether further resources are needed to perform actions on pages.
This callback method determines lets a page specify level of CSS support is used by this page.
The default is to return "", which indicates that the built-in ZEN CSS level
detection is used. A page can override this and return 2 or 3.
This callback is called at the start of the HTML HEAD section of the page (just after the title).
It allows a page to write out meta tags, if desired.
The default implementation writes out an IE-specific meta tag to ensure that IE 9 and 10 don't fall back
into Compatibility Mode when we are returning an HTML5 page (i.e. cssLevel is set to 3).
classmethod GetHyperEventResources(pMethod As %String = "")
as %String
Callback to return a list of resources required for a specific HyperEvent.
The user must have sufficient privileges on one of the resource/permission pairs
to be permitted to execute the hyperevent. An empty string implies the user already
has sufficient privileges for the ZenMethod specified in pMethod.
Invoke the base OnPreHyperEvent() method, and then check whether the user
is permitted to invoke the specified method by checking the resource returned
by the GetHyperEventResources callback.
Also avoid sending back the session cookie if we are invoked in a Studio session.
method checkEdit()
[ Language = javascript ]
method onkeydownHandler()
[ Language = javascript ]
Handle keypress of ESC and ENTER.
method onloadHandler()
[ Language = javascript ]