Supported Clients
SmartClient
WebClient
NGClient
MobileClient

Property Summary
RuntimeForm
_super
Provides access to the methods of the parent of this form.
controller
controller
Get the controller of the form.
elements
elements
Get an array with the elements in the form.
JSFoundSet
foundset
Get the foundset of the form.

Property Details

_super

Provides access to the methods of the parent of this form.

Returns

RuntimeForm

Supported Clients

SmartClient,WebClient,NGClient

Sample

%%prefix%%_super.some_method();
 

controller

Get the controller of the form.

Returns

controller

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

%%prefix%%controller.enabled = !%%prefix%%controller.enabled;
 

elements

Get an array with the elements in the form.

Returns

elements

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

var elems = %%prefix%%elements;
application.output("This form has " + elems.length + " named elements.")
for (var i=0; i<elems.length; i++)
	application.output(elems[i].getName());
&nbsp;

foundset

Get the foundset of the form.

Returns

JSFoundSet

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

application.output("selected index in form foundset: " + %%prefix%%foundset.getSelectedIndex());
&nbsp;