%WebStress.Portal.Tests
Class %WebStress.Portal.Tests Extends %WebStress.Portal.standardPage [ LegacyInstanceContext, System = 4 ]
Parameters
APPLICATION
Parameter APPLICATION = "%WebStress.Portal.Application";
Set this to the appropriate application class.
PAGENAME
Parameter PAGENAME = "Webstress Portal";
Name of this page.
Properties
MyId
Property MyId As %Integer;
XDatas
Style
XData Style
detailPane
XData detailPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
Methods
GetParamsArray
Method GetParamsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status
GetScriptsArray
Method GetScriptsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status
GetGeneratorsArray
Method GetGeneratorsArray(ByRef pParameters, Output pMetaData, Output pData) As %Status
GetWebServersArray
Method GetWebServersArray(ByRef pParameters, Output pMetaData, Output pData) As %Status
renderGrid
ClientMethod renderGrid() [ Language = javascript ]
renderDrop
ClientMethod renderDrop(json, name, rowid, grid) [ Language = javascript ]
addResult
ClientMethod addResult() [ Language = javascript ]
saveResults
ClientMethod saveResults() [ Language = javascript ]
SubmitParams
Method SubmitParams(pCommand As %String, pProvider As %ZEN.Auxiliary.jsonProvider, pSubmitObject As %RegisteredObject, Output pResponseObject As %RegisteredObject) As %Status
firePopup
ClientMethod firePopup(row) [ Language = javascript ]
onPopupAction
ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]
Subclass need to include the case "switchNamespace" if it is enabling "Switch" next to namespace.
GetURL
Method GetURL(value As %String) As %Status [ ZenMethod ]
removeResult
ClientMethod removeResult(id) [ Language = javascript ]
onloadHandler
ClientMethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
toggleSearchTable
ClientMethod toggleSearchTable() As %Status [ Language = javascript ]
getRecord
ClientMethod getRecord(id As %Integer) As %Status [ Language = javascript ]
copyRecord
ClientMethod copyRecord() [ Language = javascript ]
CopyRec
Method CopyRec() As %Status [ ZenMethod ]
deleteRec
ClientMethod deleteRec() As %Status [ Language = javascript ]
hideSearchTable
ClientMethod hideSearchTable() As %Status [ Language = javascript ]
newRec
ClientMethod newRec() As %Status [ Language = javascript ]
refreshSearchTable
ClientMethod refreshSearchTable() As %Status [ Language = javascript ]
Refresh the table of records on the form.
saveRec
ClientMethod saveRec() As %Status [ Language = javascript ]
%GetLocatorLinks
Method %GetLocatorLinks(Output pLink) As %Status
Return the array of links to show in the locator bar.
pLink(n)=$LB(caption,link)
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
This class method callback is called just before the server-side page object is created.
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the page. This should be implemented in a subclass.
isValidTime
ClientMethod isValidTime(timeStr) [ Language = javascript ]