iTP Active Transaction Pages (iTP ATP) Programmer's Guide

ATP Objects, Properties, and Methods
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
4-41
atp.fml_table Object
field_id
This parameter is the field ID of the FML field from the field table. When added to
the base, this value gives the absolute field ID. (TUXEDO gets the run-time field ID
by combining the absolute field ID with the numeric data type. In the JavaScript
environment, the calculation is performed automatically by the methods of the
atp.fml_buffer object.)
Properties
The atp.fml_field object has a property corresponding to each parameter in the
constructor.
atp.fml_table Object
The fml_table object represents one field table. It is used primarily with the
atp.fml_buffer setData() and getData() methods.
Constructor
new atp.fml_table(field_table[,field_name][,field_name]...)
field_table
This parameter contains the name of the OSS file containing an FML field table.
The file name is relative to the directory of the page containing the referring script.
If the file name does not contain a directory, then the FLDTBLDIR32 and
FLDTBLDIR paths are searched for the field table. Set up the paths using iTP
Secure WebServer AddCGI configuration commands.
field_name
By default all fields from the table are represented by the instantiated
atp.fml_table object. Using field name(s) in the constructor restricts the
atp.fml_table object to the designated fields. When you use large field tables,
restricting the fields in the table can benefit performance.
Properties
name (read only)
This property is a file name of the field table.
fields (read only)
This array contains an element for each atp.fml_field object derived from the
FML field table.
Note. Path searching uses more runtime resources than page-relative file naming.