Map and link input parameters to input fields

Use this page of the wizard, Map and Link the Input Parameters to the Input Fields, to link input fields on your input page to input parameters in your program or the Java bean. The data entered into the input fields on your Web input page is passed to the corresponding input parameters in your program or Java bean.

This page appears in the wizard if you selected Use input pages on the page Specify the Input and Output Pages for your Web Interaction.

Option Description
Input page fields

Lists the form, input fields, and controls that are on the Web input page.

To change the scope of a form bean, select FORM in the Input page fields and then click the value field for Form Bean Scope in the property sheet to open the list. The default value is request.

Form Bean Scope

This property appears when you select the FORM in the Input page fields area.

The default value for Form Bean Scope is request. This indicates that the data contained in the form bean is only available for sharing within the context of the Web interaction.

If you change the value to session, the data contained in the form bean is saved to the session and is available for sharing with other Web interactions.

Name in Session Indicates the name of the parameter that identifies the data to be saved in the browser session if Save to Session is set to true.

To change the name, click in the value field and enter a name. Press Enter to apply the value.

Note that this value is case sensitive.

Save to Session Default: false.

Indicates whether or not to save the data that is entered into the field to the browser session. The session name identifies the saved data in the browser session.

To change the value to true, click in the value field and select true in the list.

Link To link an input field to an input parameter, select one of each from the Input page fields list and the Input parameters list, and click Link.
Unlink To remove the link between a field and a parameter, select the linked field and parameter in the Fields and Parameters list and click Unlink.
Fields Indicates the fields that are linked, and for each field, indicates the parameter it has been linked to in the Parameters list.
Parameters Indicates the parameters that are linked, and for each parameter, indicates the field it has been linked to in the Fields list.
Input parameters Lists the input parameters that are in your program or Java bean.

For input parameters that are not linked to input fields in this interaction, you can restore data to the parameter from the browser session that was saved in a previous interaction. To do this, enter the session name in the Name in Session value field and set the Restore from value to true.

Data type Shows the data type that you specified for the parameter on the page Specify the Input and Output Parameters for your iSeries Host Program.

If you selected Use a Java bean on that page, the data type that appears is for the Java bean method that you selected on the page Choose the Java bean and the Methods to Invoke.

Name in Session Indicates the name of the parameter that identifies the data that was saved in the browser session and that will be retrieved for the parameter if Restore from Session is set to true.
Restore from Session Default: false.

Indicates whether or not to retrieve the data that was entered into the field and stored in the browser session from a previous interaction. The session name identifies the saved data in the browser session.

The value can only be set to true if the parameter is not linked to an input field.

To change the value to true, click in the value field and select true in the list.

Get Browser Info Default: false.

Indicates whether or not the host program or the Java bean that is called during the Web interaction can access browser information through an input parameter.

The value can only be set to true if the input parameter is not selected for inclusion on the Web input page.

To change the value to true, click in the value field and select true in the list.