Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
controller
Table Cell (td)
#_super
Provides access to the methods of the parent of this form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#alldataproviders
Get all dataproviders of the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allmethods
Get all script names of the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allnames
Get the names of all elements on the form as an array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allrelations
Get all relation names of the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Array
Table Cell (td)
#allvariables
Get all form variable names.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
controller
Table Cell (td)
#controller
Get the controller of the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
elements
Table Cell (td)
#elements
Get an array with the elements in the form.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
JSFoundset
Table Cell (td)
#foundset
Get the foundset of the form.

HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Property Details
Table Body (tbody)
id_super
classnode
Table Row (tr)
idname
Table Cell (td)
_super
Table Row (tr)
iddes
Table Cell (td)
Provides access to the methods of the parent of this form.
Table Row (tr)
idret
Table Cell (td)
Returns
controller
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
forms.customer._super.some_method();
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idalldataproviders
classnode
Table Row (tr)
idname
Table Cell (td)
alldataproviders
Table Row (tr)
iddes
Table Cell (td)
Get all dataproviders of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var dataprovidersNames = forms.customer.alldataproviders;
application.output("This form has " + dataprovidersNames.length + " data providers.")
for (var i=0; i<dataprovidersNames.length; i++)
	application.output(dataprovidersNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallmethods
classnode
Table Row (tr)
idname
Table Cell (td)
allmethods
Table Row (tr)
iddes
Table Cell (td)
Get all script names of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var methodNames = forms.customer.allmethods;
application.output("This form has " + methodNames.length + " methods defined.")
for (var i=0; i<methodNames.length; i++)
	application.output(methodNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallnames
classnode
Table Row (tr)
idname
Table Cell (td)
allnames
Table Row (tr)
iddes
Table Cell (td)
Get the names of all elements on the form as an array.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var names = forms.customer.allnames;
application.output("This form has " + names.length + " named items.")
for (var i=0; i<names.length; i++)
	application.output(names[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallrelations
classnode
Table Row (tr)
idname
Table Cell (td)
allrelations
Table Row (tr)
iddes
Table Cell (td)
Get all relation names of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var relationsNames = forms.customer.allrelations;
application.output("This form has " + relationsNames.length + " relations.")
for (var i=0; i<relationsNames.length; i++)
	application.output(relationsNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idallvariables
classnode
Table Row (tr)
idname
Table Cell (td)
allvariables
Table Row (tr)
iddes
Table Cell (td)
Get all form variable names.
Table Row (tr)
idret
Table Cell (td)
Returns
Array
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var varNames = forms.customer.allvariables;
application.output("This form has " + varNames.length + " variables defined.")
for (var i=0; i<varNames.length; i++)
	application.output(varNames[i]);
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idcontroller
classnode
Table Row (tr)
idname
Table Cell (td)
controller
Table Row (tr)
iddes
Table Cell (td)
Get the controller of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
controller
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
forms.customer.controller.enabled = !forms.customer.controller.enabled;
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idelements
classnode
Table Row (tr)
idname
Table Cell (td)
elements
Table Row (tr)
iddes
Table Cell (td)
Get an array with the elements in the form.
Table Row (tr)
idret
Table Cell (td)
Returns
elements
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
var elems = forms.customer.elements;
application.output("This form has " + elems.length + " named elements.")
for (var i=0; i<elems.length; i++)
	application.output(elems[i].getName());
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idfoundset
classnode
Table Row (tr)
idname
Table Cell (td)
foundset
Table Row (tr)
iddes
Table Cell (td)
Get the foundset of the form.
Table Row (tr)
idret
Table Cell (td)
Returns
JSFoundset
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript
application.output("selected index in form foundset: " + forms.customer.foundset.getSelectedIndex());
Table Row (tr)
classlastDetailRow
Table Cell (td)