EnsPortal.ProductionDelete

class EnsPortal.ProductionDelete extends EnsPortal.Template.standardPage

StartProduction

Method Inventory (Including Private)

Parameters

parameter CSSINCLUDES = ensemble/Ensemble_Wizards.css;
Inherited description: Comma-separated list of additional CSS include files for the page. If this page is using CSS3 then the CSS3INCLUDES parameter is used (if defined).
parameter PAGENAME = Production Delete;
Displayed name of this page.
parameter RESOURCE = %Ens_ProductionConfig:WRITE;
User needs WRITE permissions on the %Ens_ProductionConfig resource to view this page.

Methods

private method %OnGetJSResources(ByRef pResources As %String) as %Status [ Language = objectscript ]
Inherited description: Pages can implement this callback method in order to define a set of client-side resources: javascript strings that have been localized.
This method should fill in the array pResources with a set of localized strings, indexed by resource id:
   Set pResources("MyId") = $$$Text("Some string")
  
Javascript methods can refer to these resources using the helper function zenGetResource:
 alert(zenText('MyId'));
Zen defines a set of built-in resource strings using this mechanism. These have a "zen" prefix to keep them seperate from user ids.
You can also override the same callback method within your %ZEN.application class if you wish to share resources across an application. In this case, the application-wide callback is invoked first.
method %OnGetPageName() as %String [ Language = objectscript ]
Get the (localized) name of the page.
method %OnGetTitle() as %String [ Language = objectscript ]
Get the (localized) title string for the page.
method DeleteProductionJS(pProdId As %String) as %Boolean [ Language = objectscript, ZenMethod ]
This method deletes the specified production and returns a status that JavaScript can understand.
method OnGetRibbonInfo(Output pDisplay As %Library.Boolean, Output pViewIcons As %Library.List, Output pSortOptions As %Library.List, Output pSearchBox As %Library.Boolean, Output pRibbonTitle As %Library.String, Output pCommands As %Library.List) as %Status [ Language = objectscript ]
Get information to display in the ribbon bar. Make appropriate choices for Production Delete.
clientmethod btnOK() [ Language = javascript ]
Attempt to delete the specifed production.
clientmethod btnView() [ Language = javascript ]
View the configuration diagram for the specifed production.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback