Page History
[ |../../index.htm#lansa/wamengt4_0200.htm]
You are here:
...
WAM010 - Using WEB_MAPs
Important Observations
- The WEB_MAP statement allows you to specify which incoming and outgoing fields the WebRoutine maps between the web page and the RDMLX code. The WEB_MAP statement's FOR() selector specifies whether the fields are mapped as incoming (*INPUT), outgoing (*OUTPUT), or both (*BOTH).
- Only fields in a WEB_MAP statement with a FOR(*OUTPUT) or FOR(*BOTH) can be placed on the web page.
- The Fields() attributes specify the display mode of the field on the page. Acceptable field attributes are *INPUT, *OUTPUT and *HIDDEN. If unspecified, the default is *INPUT. These attributes determine whether the field accepts input, as an input text box, only displays an output value, or is hidden on the page.
- Hidden fields may be needed if fields that are shown as output values on the web page, but their value must be posted to the web server. This is often the case for key fields when the WebRoutine is performing an update.
- The order in which fields appear when generated is the same as their sequence in the WEB_MAPs, although when data is mapped to and from the WEB_MAPs they are mapped by field names and not position.
- A WebRoutine may have multiple WEB_MAPs.
- If the output of one WebRoutine does not match the input of the WebRoutine that it is calling, no error will be generated. The data will simply not be passed into the WebRoutine that was called.
...
What I Should Know
- How the WEB_MAP works.
...