Home > Class Reference > ENSLIB namespace > CSPX.AutoFormCSP

CSPX.AutoFormCSP

class CSPX.AutoFormCSP extends %CSP.Util.AutoForm

Subclass of AutoForm that puts buttons at the top.

Method Inventory

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization

Methods

classmethod CreateInstance(ByRef pID As %String) as AutoForm [ Language = objectscript ]
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 [ Language = objectscript ]
method DrawHTMLExtra(ByRef pID As %String, pActionURL As %String = "", ByRef pButtons As FormButton, pTarget As %String = "") as %Status [ Language = objectscript ]
classmethod DrawHTMLForm(pObj As %RegisteredObject, ByRef pID As %String, pActionURL As %String = "", ByRef pButtons As FormButton, pTarget As %String = "") as %Status [ Language = objectscript ]
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.

Inherited Members

Inherited Methods

Subclasses