Step 4. Banner Web Component
In this step, you will add an advertising banner to the standard header used in your functions. This banner will link to the Visa, MasterCard and LANSA Web Site. (Note: You may not be able to test the links if your Web Server does not have access to the Internet.)
1. Create a new component as follows:
|
2. Press the
button and enter the following:
|
3. Press the
button and enter the following:
|
4. Using the
button, enter the following data for the banner items:
|
5. Press
to save the component.6. Open the iiiPROC03_STDHEADER page.
7. Include the banner component at the bottom of the function header by inserting the following LANSA tag:
<RDML COMPONENT="iiiBANNER">
Note: The component names are case sensitive so be careful to use the correct spelling of the component .
8. Test your changes by executing your iiiFN05 or iiiFN07 function. You should see a new banner each time you perform a new search. (Note: You may not be able to test the links to other Web sites if your Web Server does not have access to the Internet.)