Child pages
  • RuntimeForm

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
{div:style=}
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.\\ \\ Enter additional information related to this 'class' inside the \{div} macro with 'id=description'{div} {div:id=description}{div}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Property Summary{th}{tr}{tbody}{tr}{td}[RuntimeForm]{td}{td}[#_super] Provides access to the methods of the parent of this form.{td}{tr}{tbody}{tbody}{tr}{td}[controller]{td}{td}[#controller] Get the controller of the form.{td}{tr}{tbody}{tbody}{tr}{td}[elements]{td}{td}[#elements] Get an array with the elements in the form.{td}{tr}{tbody}{tbody}{tr}{td}[JSFoundSet]{td}{td}[#foundset] Get the foundset of the form.{td}{tr}{tbody}{table}\\ {table:id=property|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Property Details{th}{tr}{tbody:id=_super}{tr:id=name}{td}h6._super{td}{tr}{tr:id=des}{td}{div:class=sIndent}Provides access to the methods of the parent of this form.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[RuntimeForm]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}

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)
_super
Provides access to the methods of the parent of this form.
Table Row (tr)
Table Cell (td)
controller
Table Cell (td)
controller
Get the controller of the form.
Table Row (tr)
Table Cell (td)
elements
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.



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_super
Table Row (tr)
idname
Table Cell (td)

_super

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Provides access to the methods of the parent of this form.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
forms.customer._super.some_method();
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=controller}{tr:id=name}{td}h6.controller{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get the controller of the form.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[controller]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idcontroller
Table Row (tr)
idname
Table Cell (td)

controller

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the controller of the form.
Table Row (tr)
idret
Table Cell (td)

Returns

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

Sample

Div
classsIndent
Code Block
languagejavascript
forms.customer.controller.enabled = !forms.customer.controller.enabled;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=elements}{tr:id=name}{td}h6.elements{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get an array with the elements in the form.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[elements]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idelements
Table Row (tr)
idname
Table Cell (td)

elements

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get an array with the elements in the form.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
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());
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=foundset}{tr:id=name}{td}h6.foundset{td}{tr}{tr:id=des}{td}{div:class=sIndent}Get the foundset of the form.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[JSFoundSet]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)
idfoundset
Table Row (tr)
idname
Table Cell (td)

foundset

Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Get the foundset of the form.
Table Row (tr)
idret
Table Cell (td)

Returns

Div
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());
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)