Step 2. Create a New Web Component

You will now create a Web Page component named iiiFN08C which will be used for displaying the fields in the REQUEST panel. Once this component is created, the first REQUEST statement (which is used to create the display which is sent to the browser) will produce the following generated HTML:

<tr>

<td><strong></strong></td>

<td><RDML COMPONENT="iiiFN08C  " MODE="I"></td>

</RDML>

</tr>

 

The iiiFN08C Web component will be created as a page Web component. The page will contain the HTML code for the fields in the second REQUEST statement, i.e. the screen with the fields you really want to send to the browser.

1.  Create a new component as follows:

Name:

iiiFN08C

Type:

PAGE

 

   

       Press the Continue button and enter the following:

Description:

HTML Page Layout for iiiFN8

Page:

iiiFN08C

Mode:

INPUT

 

   

       Press the OK button to create the component.

2.  Submit the function for compile.

     When the function is compiled, it will include the Web component you have just defined.

     The function compile will also create the HTML which will be used in the iiiFN08C page component.