class %DeepSee.UI.WidgetPreview
extends %ZEN.Component.page
DeepSee Widget Preview page.
Displays a transient version of a widget for the widget builder page.
This is a Zen Page class.
parameter CSPURL = "%DeepSee.UI.WidgetPreview";
This parameter is used to make sure that if multiple
CSP applications are mapped to the same namespace that the CSP engine can correctly
identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined
in the CSP application) then you can only access this page if the url exactly matches
this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for
this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the
url of this file used for compilation.
parameter PAGENAME = "DeepSee Widget Preview";
Optional. This is the display name used for this page.
If not provided, the class name is used.
property catalogName
as %ZEN.Datatype.string(ZENURL="CATALOG");
Name of catalog containing widget.
property dashboardName
as %ZEN.Datatype.string(ZENURL="DASHBOARD");
Name of dashboard containing widget.
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 %OnDrawHTMLHead()
as %Status
Add include files to support color schemes.
method onlayoutHandler(load)
[ Language = javascript ]
This client event, if present, is fired when the page
is first loaded or whenever it is resized.
If this is called at load time, then load will
be true.