class %CSP.Util.TableForm
extends %RegisteredObject, AutoForm
This class is used internally by Caché. 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.
A test for invoking commands from an AutoPage.
parameter COMMANDFORM = 1;
Set this to 1 for command forms...
classmethod OnDefineButtons(ByRef pButtons As FormButton)
Subclasses can override this to redefine the buttons for a form
method OnSubmit(ByRef pID As %String, pSubmit As %String)
as %Status
This callback is called when this form is submitted.
pID is the ID value associated with the form.
The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).