Rules for iSeries Web component names and values

iSeries Web component names

The following rules apply to the Name value in the attributes view of iSeries Web components:

The following messages appear on the status line in the IDE for errors in the Name value:
  • A name is mandatory indicates that the name field is empty and an entry is required.
  • Use only letters, digits, and underscores in a name indicates that an incorrect character is used in the name. For example, the message appears in the status line if a period (.) is used in the name.
  • Invalid Name: The first character has to be lowercase, unless the second character is also uppercase indicates that a Web component name must have both the first and second character of the name in uppercase if the first character must be uppercase.

iSeries Web component values

Values that are specified in the Attributes view for iSeries Web components are validated for correctness. The attributes whose values are checked, and the affected iSeries Web components are summarized in the following table. The 'x' indicates that the attribute is included in the Web component, and the '-' indicates that the attribute is not applicable to the Web component. Below the tables is a brief description of the message that appears in the status line of the IDE when the value is incorrect.
See note number... Attribute whose value is validated Button Check box Combo box Hyperlink Image Image button
1 Tab index x x x x x x
2 Size - - - - - -
2 Width - - - - x x
2 Height - - - - x x
2 Border - - - - x x
2 Rows - - - - - -
2 Columns - - - - - -
2 Maximum length - - - - - -
2 Initial page - - - - - -
2 Rows per page - - - - - -
3 Delimiter - - - - - -
3 Decimal symbol - - - - - -
3 Thousands - - - - - -
3 Date separator - - - - - -
4 Data length - - - - - -
5,6,7 Decimal places - - - - - -
13 Name - - x - - -
7 Value - x x - - -
8 Name, value - x x - - -
10 Type - - - - - -
11 Get data from an iSeries service program - - - - - -
3 Access key x x x x - x
See note number... Value Label Radio button group Selection box Table Text area Text entry
1 Tab index - x x - x x
2 Size - - - - - x
2 Width - - - - - -
2 Height - - - - - -
2 Border - - - - - -
2 Rows - - x - x -
2 Columns - - - - x -
2 Maximum length - - - - x -
2 Initial page - - - x - -
2 Rows per page - - - x - -
3 Delimiter - - - - - -
3 Decimal symbol x - - x - -
3 Thousands - - - x - -
3 Date separator - - - x - -
4 Data length x - - - - x
5,6,7 Decimal places - - - - - x
13 Name - x x - - -
7 Value - x x - - -
8 Name, value - x x - - -
10 Type - - - x - -
11 Get data from an iSeries service program - - - x - -
3 Access key - x x - x x
Notes:
  1. Specify 0 to 32767 indicates that the permissible value must be within the range from 0 to 32767 for the tab index.
  2. Specify a positive integer indicates that a positive value is required, or that a negative value was entered in error.
  3. Specify a single character indicates that more than one character has been specified.
  4. A data length is mandatory indicates that the data length field is empty and a value is required.
  5. Specify a non-negative integer indicates that a negative value was entered and a positive value is required.
  6. A character data cannot have decimal places indicates that decimal places are specified in error when Character data type is selected.
  7. A value is mandatory indicates that the Value field for Combo box, Radio Button Group, or Selection box Web components is empty and requires an entry.
  8. The character specified as the Delimiter cannot be used in the Value or Name fields indicates that the value specified for Delimiter was also used within the Value or Name fields for Combo box, Radio Button Group, or Selection box Web components.
  9. Data type is not valid indicates that the data type entered is not supported by the Web component.
  10. Component type is not valid indicates that the Type value entered for the table column is not supported.
  11. Decimal places must not be greater than Data length indicates that the decimal place value exceeds the length specified for the data.
  12. A library and an object are mandatory appears when both Library and Object fields are empty and require entries. A library is mandatory appears when Library is empty, and An object is mandatory appears when Object is empty.
  13. A name is mandatory indicates that the Name field for Combo box, Radio Button Group, or Selection box Web components is empty and requires an entry.