Child pages
  • RuntimeForm
Skip to end of metadata
Go to start of metadata

Refresh page Apr 26, 2024 04:31

Supported Clients
SmartClient WebClient NGClient MobileClient

Property Summary
RuntimeForm _super Provides access to the methods of the parent of this form.
containers containers Get an object with the containers of a responsive 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

Supported Clients

SmartClient,WebClient,NGClient

Sample

_super.some_method();

containers

Get an object with the containers of a responsive form.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

containers.mycontainer.addStyleClasses("red","blue");

controller

Get the controller of the form.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

controller.enabled = !controller.enabled;

elements

Get an array with the elements in the form.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

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

foundset

Get the foundset of the form.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

application.output("selected index in form foundset: " + foundset.getSelectedIndex());

  • No labels