184 IBM WebSphere Host Publisher Version 3.5
This is a new input field in a new HTML form we are defining, so we go to the
screen when prompted for the input page name. In our scenario, the input page
name is dbpg01i, as shown in Figure 6-29.
Figure 6-29 Input page name containing the HTML form
The default submit button label for the HTML form is Submit (see Figure 6-29 on
page 184), but you can use any other name as appropriate (for example, Enter).
Next, we select the format type (here, Edit box) provided in the form. See
Figure 6-30 for details.
Chapter 6. Database Integration Objects 185
Figure 6-30 Selecting input control type for the salary variable
Finally, for this input (salary) we provide a proper descriptive label to be
displayed, as illustrated in Figure 6-31.
Figure 6-31 Providing a descriptive label for the salary variable
We are now done defining how the salary value will be entered in the HTML form.
Next, we do a similar definition for the gender input, but this time we will use a
radio button. Therefore, we select the radio button list option, as shown in
Figure 6-32.
186 IBM WebSphere Host Publisher Version 3.5
Figure 6-32 Selecting input control type for the gender variable
For the two options (M or F), we need to provide a label and its associated value
for the gender input (see Figure 6-33).
Figure 6-33 Adding an item label and value to the radio button
Chapter 6. Database Integration Objects 187
Figure 6-34 shows the two options for the radio button.
Figure 6-34 Radio button list
You will also need to provide a descriptive label for the radio button, as shown in
Figure 6-35.
Figure 6-35 Radio button descriptive label
188 IBM WebSphere Host Publisher Version 3.5
The next action is to define (render) what data is used and how we want to
display the response from the Integration Object. Use the Shift key and the
mouse to select the output you want to display (see Figure 6-36) and click
Render.
When rendering outputs, items with multiple values are typically shown in a table
and they can all be selected. However, items with single value can only be
selected one at a time and they are displayed either in an edit box or as plain text.
Figure 6-36 Selecting output

Get A Comprehensive Guide to IBM WebSphere Host Publisher Version 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.