CSPX.EnsProductionModelPanehidden class CSPX.EnsProductionModelPane
Note: This class is no longer used as of Ensemble 2010.2. It is kept here as a place holder
to avoid compilation errors in upgrades from earlier versions.
Production Model pane; This is the second step in creating a new production. This page lets the user add inputs/outputs to the production.
This method is called from the client; it deletes the specified production. method DrawBODY(pInstance As %CSP.Util.PageInstance) as %Status
Draw the BODY of the wizard pane method DrawHEAD(pInstance As %CSP.Util.PageInstance) as %Status
Overwritten by subclasses to draw anything this pane needs for the HEAD section. method DrawMenuItem(pCaption As %String, pHREF As %String, pHelp As %String, pEnabled As %Boolean = 1)
Draw a menu item method DrawProductionMap(pProduction As Ens.Config.Production)
Take a production and create a client map that specifies the business type of each item classmethod EscapeHTML(text)
classmethod OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
This callback is called when this form is submitted. classmethod Submit(pRequest As %CSP.Request, pSubmit As %String) as %Status
Override submit behavior for this page classmethod UpdateProduction(pProdId, xml) as %Status
Save changes to model; it is passed the current model (as an XML document) and applies the model to the production.