Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Refresh page Apr 28, 2024 16:45

Supported Clients
SmartClient WebClient NGClient MobileClient

Property Summary
RuntimeComponent [index] Get an element of the form by its index.
RuntimeComponent [name] Get an element of the form by its name.
Array allnames Get the names of all elements of the form, as an array.
Number length Get the number of elements of the form.

Property Details

[index]

Get an element of the form by its index.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

for (var i=0; i<%%prefix%%elements.length; i++)
{
	var elem = %%prefix%%elements[i];
	application.output(elem.getName() + ": " + elem.getDataProviderID());
}

[name]

Get an element of the form by its name.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

for (var i=0; i<%%prefix%%elements.allnames.length; i++)
{
	var name = %%prefix%%elements.allnames[i];
	var elem = %%prefix%%elements[name];
	application.output(name + ": " + elem.getDataProviderID());	
}

allnames

Get the names of all elements of the form, as an array.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

for (var i=0; i<%%prefix%%elements.allnames.length; i++)
{
	var name = %%prefix%%elements.allnames[i];
	var elem = %%prefix%%elements[name];
	application.output(name + ": " + elem.getDataProviderID());	
}

length

Get the number of elements of the form.

Returns

Supported Clients

SmartClient,WebClient,NGClient,MobileClient

Sample

for (var i=0; i<%%prefix%%elements.length; i++)
{
	var elem = %%prefix%%elements[i];
	application.output(elem.getName() + ": " + elem.getDataProviderID());
}

  • No labels