Add Element

You get the Add Element window when you select the root of the Element tree and choose Edit->Add from the menu bar. To create an element, enter the element name, element type, occurrences, comments, and (if applicable) TUXEDO FML field name and number in the text fields.

Fields

The following table explains the fields on this window.

Table 7-7 Add Element

Field Description

Element Name

Identifies the name of the element. You must enter the name of the element you wish to create. This field cannot be left blank or contain spaces. The name must not exceed 32 characters.

Element Type

Indicates the element type; either a primary element type (char, string, short, long, float, double, carray) or a struct type. If an element is a member of a struct, you cannot select an element type that is a struct.

To select an element type, click on the Select button next to the Element Type field. (For more information, see Selecting an Element Type.)

Element Length

Enabled when an element type is string or carray. You cannot edit this field for other types.

Occurrence

The number of occurrences of this element. If 0, this indicates an unlimited number of occurrences for the element. If the element is an instance of a struct type, you must indicate "1" for the occurrence and it cannot be edited.

Fixed

If the element type is struct type, you must indicate its occurrence as "1," and it must be fixed (if you selected the checkbox).

For all other element types, if the occurrence is "0," it must not be fixed (if you did not select the checkbox). If the occurrence is "1," it must be fixed.

Comments

Allows entry of one line of comment text, without line breaks. You cannot include a colon (:) in the comments.

FML Field Name

Shows the BEA TUXEDO FML field name. To select the FML field name, click on the Select button next to the field. For more information, see Selecting an FML Field Name.

FML Field Number

Shows the FML field number for this FML field. For more information, refer to Setting the Default Next FML Field Number.)

Last Updated

Displays the date and time of the most recent update and the name of the person who made the update. This area is empty until the element is created.

OK

Saves your addition.

Cancel

Returns to the previous window.

Help

Accesses online help.

Buttons

When you have filled in the fields, click OK to save your changes and close the window. (Or click Cancel to close the window without saving your changes).

See Also

Selecting an FML Field Name, Adding Elements, Selecting an Element Type