Exercise 5.5: Defining the input page content

Before you begin, you must complete Exercise 5.3: Defining the iSeries GETDATA program invocation and parameters or Exercise 5.4: Defining the iSeries GETDATAS service program invocation and parameters.

Now you need to specify which of the input parameters you want to see on the input page for this interaction that gets generated by the wizard. This is easy in this application since you only have the customer number input field to handle. You also have the capability to enhance the page layout by changing colors of the page background and changing the heading. The Design the Input Form page contains a properties table that shows all input capable parameters, and a sample of the Web page that will be created.
Input form

Changing the heading

To change the heading:

  1. Click the field beside the Page Title property in the Property table and type Customer Inquiry.
  2. Press Enter to apply this change to the sample page.

    Now you want to change the customer number field properties.

  3. Click the Fields tab on the Properties table.

    This opens the field properties for the selected field in the list.

Changing a field label

To change a field label:
Properties list

  1. In the left pane of the Design the Input Form page, select CUSTNOI.
  2. Click the field beside the Label property, and type Enter customer number.
  3. Press Enter.
  4. Click Next to advance to the next wizard page.

You have specified the input and output parameters and the input parameters to show on the input page and now you are ready to begin Exercise 5.6: Defining the output page content.