| The name of created object | Name of the object created in the Pma object tree.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number. Default: "SetDateDlg" |
|---|---|
| Permissions | On this tab permissions of the object are defined. See the "Permission" tab of the PmaObject object. |
| Enable as Web component | Specifies whether this object has to be registered as a web server component
After the preconfiguration is created, the "PmaPanel > Web server > Enable as Web component" configurator will be set to this value. |
| Web component identifier | Specifies unique identifier of this Web component.
The full URL address to this component is then for example: "http://ComputerName:Port/Identifier" Macro expression can be used for input (it is evaluated after the application is launched). After the preconfiguration is created, the "PmaPanel > Web server > Web component identifier" configurator will be set to this value. |
function onClose(ev)
{
if (ev.CloseReason == "ok")
{
var oDate = ev.ReturnValue;
Pm.Debug("PanelDate Date=" + oDate.Format("%d.%m.%Y"));
}
}
var oDate = Pm.CreatePmDateObject().GetValue();
var oCreator = Pm.CreateView(null, "/SetDateDlg", "", "target:_blank;dependent:1;size:panel;modal:1;");
oCreator.View.Arguments = oDate;
oCreator.View.onClose = onClose;
oCreator.Open();