EGL Reference Guide for iSeries

Associating an EGL data item with a JSP

To associate an EGL data item 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 Data item from the palette to the JSP. The Select a Data Item dialog is displayed.
  5. Select a data item from the list.
  6. The name for the field defaults to the name of the data item; 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 Control dialog is displayed. (For arrays, the Insert List Control 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
DataItem part


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