EGL Reference Guide for iSeries

Associating an EGL primitive type with a JSP

To associate an EGL primitive type with a JSP, do as follows:

  1. Open a JSP file in the Page Designer. If you do not have a JSP file open, double-click on the JSP file in the Project Navigator. The JSP opens in the Page Designer. Click the Design tab to access the Design view.
  2. From the Window menu, select Show View > Palette.
  3. In the Palette view, click the EGL drawer to display the EGL data object types.
  4. Drag Primitive Type from the palette to the JSP. The Create a field dialog is displayed.
  5. Type a name for the field, then enter a field type and length.
  6. If the field is an array, enter the array properties.
  7. Click OK. The new field is visible in the Page Data view.
  8. Drag the field from the Page Data view to the JSP. The Insert Control dialog is displayed. (For arrays, the Insert List Control dialog is displayed.)
  9. Select the type of button controls needed for the field. Specify the columns to display and how to display them. Click Options to change the properties of the button controls.
  10. Click Finish.


Related reference
Primitive types


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]