Child pages
  • RuntimeForm

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Row (tr)
Table Cell (td)
RuntimeForm
Table Cell (td)_super
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryProvides access to the methods of the parent of this form. Table Row (tr)

Table Cell (td)
controller
Table Cell (td)controller
Table Cell (td)elements
Get the controller of the form. Table Row (tr)
Table Cell (td)
elements
Get an array with the elements in the form. Table Row (tr)
Table Cell (td)
JSFoundSet
Table Cell (td)foundset
Get the foundset of the form.table

id

propertyclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Property Details Table Body (tbody)idid_super Table Row (tr)nametd

_super

Table Row (tr)id

des Table Cell (td) DivclasssIndentProvides access to the methods of the parent of this form. Table Row (tr)idtdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
RuntimeForm Table Row (tr)
idsam
Table Body (tbody)
idcontroller
Table Row (tr)
idname
Table Cell (td)

controller

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
forms.customer._super.some_method();
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
sIdentjavascriptlastDetailRow controllername

controller

dessIndentGet the controller of the form.
Table Row (tr)idret

Table Cell (td)

Returns

div
Table Row (tr)
idname
Table Cell (td)

elements

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
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

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow 
elementsname

elements

dessIndentGet an array with the elements in the form.
Table Row (tr)idret

Table Cell (td)

Returns

div Table Body (tbody)
idfoundset
Table Row (tr)
idname
Table Cell (td)

foundset

Table Row (tr)
iddes
Table Cell (td) Div
classsIndent
sIndentclients

classsIndent
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)
 

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow&nbsp;
foundsetname

foundset

dessIndentGet the foundset of the form.
Table Row (tr)idret

Table Cell (td)

Returns

div Table Row (tr)
classlastDetailRow
Table Cell (td) sIndentclients

classsIndent
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());

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow&nbsp;