Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / CSPX.AutoFormCSP
Private  Storage   

CSPX.AutoFormCSP


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.