Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [CSPX] >  [AutoFormCSP]
Private  Storage   

class CSPX.AutoFormCSP extends %CSP.Util.AutoForm

Subclass of AutoForm that puts buttons at the top.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 4


Summary

Methods
CreateInstance DispatchSubmit DoSubmit DrawFormButtons
DrawHEADExtra DrawHTMLExtra DrawHTMLForm DrawHTMLTable
GetComboBoxHTML GetFormError OnDefineButtons OnSubmit
ProcessSubmit SetFormError Submit

Subclasses
CSPX.EnsBPInstanceFilterForm CSPX.EnsLogFilterForm CSPX.EnsMsgFilterForm
CSPX.EnsMsgTraceFilterForm CSPX.EnsRuleLogFilterForm

Parameters

• parameter DOMAIN = "Ensemble";
Use our own domain for localization

Methods

• classmethod CreateInstance(ByRef pID As %String) as AutoForm
Create an instance of the AutoForm object using the provided ID value(s). This is overridden by subclasses.
The default implementation will perform an OpenId if the AutoForm is a persistent object.
• method DrawHEADExtra(pInstance As %CSP.Util.PageInstance) as %Status
• method DrawHTMLExtra(ByRef pID As %String, pActionURL As %String = "", ByRef pButtons As FormButton, pTarget As %String = "") as %Status
• classmethod DrawHTMLForm(pObj As %RegisteredObject, ByRef pID As %String, pActionURL As %String = "", ByRef pButtons As FormButton, pTarget As %String = "") as %Status
Draw an HTML form for this form object.
pObj is an instance of the form object that provides the initial values for the form.
pActionURL is the URL to submit this form to.
pButtons is an array of submit buttons to display for the form. If not provided, the default Save and Cancel buttons are shown. pButtons is an integer-subscripted array of FormButton objects.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.