%CSP.Portal.standardDialogabstract class %CSP.Portal.standardDialog
Base class for Management Portal dialogs.
If true, then this dialog displays an Apply button. parameter DOMAIN = "%Utility";
Localization domain parameter EMSSERVICE;
Keeps track of the first form field that failed during validation. property InvalidParam as %Boolean [ InitialExpression = 0 ];
Set to 1 in %OnAfterCreatePage if a URI parameter is invalid. Used to disable command buttons in onloadHandler(). property IsEMSReadOnly as %Boolean [ InitialExpression = ##class(%SYS.EMS).IsReadOnly($classname()) ];
1 if we are on an EMS manager and viewing group data or on a managed instance, 0 otherwise. property ValidationErrorMsg as %String [ InitialExpression = $$$Text("There was a problem with the form. See the highlighted fields below.") ];
Provide HTML for html title box. method %OnAfterCreatePage() as %Status
Be sure to do ##super() when overriding. classmethod EvalResult(pSC) as %String
Validate the control value. pass is either "true" or "false" indicating if there is already a field that failed validation. Type is "N" for numeric or "S" for string. If numeric, if checkRange is true, we additionally validate that the number is between minVal and maxVal, inclusive.