Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
{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{hidden} {sub-section:description|text=}{sub-section}\\ {table:id=|class=servoy sSummary}{colgroup}{column:padding=0px|width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[Array]{td}{td}[#allnames] Get all form names of the current solution.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#length] Get the number of forms loaded into memory.{td}{tr}{tbody}{table}\\ {table:id=property|class=servoy sDetail}{colgroup}{column:padding=0px|width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=allnames|class=node}{tr:id=name}{td}h6.allnames{td}{tr}{tr:id=des}{td}{sub-section:allnames_des|text=|trigger=button}{sub-section}{sub-section:allnames_des|trigger=none|class=sIndent}Get all form names of the current solution.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:allnames_snc|text=|trigger=button}{sub-section}{sub-section:allnames_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:allnames_prs|text=|trigger=button}{sub-section}{sub-section:allnames_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:allnames_ret|text=|trigger=button}{sub-section}{sub-section:allnames_ret|trigger=none|class=sIndent}[Array]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:allnames_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:allnames_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:allnames_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:allnames_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:allnames_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:allnames_sam|trigger=none}{code:language=javascript} var allFormNames = forms.allnames
Wiki Markup
Div
styledisplay: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.

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)
[name]
Get a form by name.
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
length
Get the number of forms loaded into memory.



HTML Table
idproperty
classservoy sDetail
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Details
Table Body (tbody)
id[name]
Table Row (tr)
idname
Table Cell (td)

[name]

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get a form by name.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
classsIndent
RuntimeForm
Table Row (tr)
idsam
Table Cell (td)

Sample

Div
classsIndent
Code Block
languagejavascript
var allForms = solutionModel.getForms();
application.output("There are " + 
allFormNames
allForms.length + " forms.");
for (var i=0; 
i<allFormNames
i<allForms.length; i++)

{
	var f = forms[
allFormNames
allForms[i].name];
	application.output("Form " + 
allFormNames
allForms[i].name + " has selected index " + f.controller.getSelectedIndex());
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=length|class=node}{tr:id=name}{td}h6.length{td}{tr}{tr:id=des}{td}{sub-section:length_des|text=|trigger=button}{sub-section}{sub-section:length_des|trigger=none|class=sIndent}Get the number of forms loaded into memory.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:length_snc|text=|trigger=button}{sub-section}{sub-section:length_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:length_prs|text=|trigger=button}{sub-section}{sub-section:length_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:length_ret|text=|trigger=button}{sub-section}{sub-section:length_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:length_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:length_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:length_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:length_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:length_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:length_sam|trigger=none}{code:language=javascript}
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.
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);
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)