This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.
This is a version of AutoForm that generates its dialog and forms dynamically,
that is, it calculates what properties to display at run-time using
the meta-information for the provided object.
This is not as efficient as the generated case, but is useful for some applications.
Draw an HTML form for this form object.classmethod DrawHTMLTable(pObj As %RegisteredObject, ByRef pID As %String) as %Status
pObj is an instance of the form object that provides the initial values for the form.
Draw an HTML table for an arbitary object.classmethod ProcessSubmit(pRequest As %CSP.Request, ByRef pID As %String = "", Output pErrorMsg As %String, pPersistentOnly As %Boolean = 1) as AutoForm
pObj is an instance of object that provides the definition and values for the table.
This table is dynamic in that the table to display is calculated at runtime.
Takes submitted data for a form and returns an instance of AutoForm objectclassmethod Submit(pRequest As %CSP.Request, pSubmit As %String) as %Status
Called by the page handler when a form is submitted.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).