EGL Reference Guide for iSeries

Associating an EGL record with a JSP

To associate an EGL record 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 Record from the palette to the JSP. The Select a Record dialog is displayed.
  5. Select a record from the list.
  6. The name for the field defaults to the name of the record; however, you can change the name of the field.
  7. If the field is an array, enter the array properties.
  8. Click OK. The new field is visible in the Page Data view.
  9. Drag the field from the Page Data view to the JSP. The Insert Record dialog is displayed.
  10. Select the type of control needed for the field. Specify the columns to display and how to display them. Click Options to change the properties of the button controls.
  11. Click Finish.


Related concepts
Record parts


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