Child pages
  • Forms

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
RuntimeForm
Table Cell (td)
[name]
Get a form by name.

...

Table Cell (td)
Number

...

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.
Enter additional information related to this 'class' inside the {div} macro with 'id=description'
Divcache
styleindexdisplay:none

...

iddescription

...

padding0px
width80px

...

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
id
true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
HTML Table

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientsWordListMobileClient

servoy sSummary12%30%58%height: 30px;3Property SummaryGet a form by name.Get the number of forms loaded into memory.

...

servoy sDetail2Property Details[name]nametd

[name]

id

des

sIndent
Get a form by name.
idtd
ret

Returns

div

property

class
Colgroup Tag
Column
padding0px
width100%
Table Row (tr)
style2100%height:30px;
Table Head (th)
colspan1
Table Body (tbody)
idid
Table Row (tr)
Table Row (tr)
Table Cell (td)
Div
class
Table Row (tr)
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

application.output("Number of forms loaded into memory: " + forms.length);
Table Row (tr)
classlastDetailRow
tdsIndentclients

classsIndent
RuntimeForm
Table Row (tr)
idsam
Table Cell (td)
Sample
Div
classsIndent
Code Block
languagejavascript

var allForms = solutionModel.getForms();
application.output("There are " + allForms.length + " forms.");
for (var i=0; i<allForms.length; i++) 
{
	var f = forms[allForms[i].name];
	application.output("Form " + allForms[i].name + " has selected index " + f.controller.getSelectedIndex());
}
Table Row (tr)
classlastDetailRow
Table Cell (td) Table Body (tbody)
idlength
Table Row (tr)
idname
Table Cell (td)
length
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the number of forms loaded into memory.

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow
lengthname

length

dessIndent
Get the number of forms loaded into memory.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient,MobileClient
sam

Sample

sIdentjavascript
lastDetailRow