Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The WEB_MAP statement allows you to specify which incoming and outgoing fields the WebRoutine maps between the web page and the WebRoutine. The WEB_MAP statement's FOR() selector specifies whether the fields are mapped as an 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.
  • Acceptable field attributes are *INPUT and *OUTPUT (also *in and *out). If unspecified, the default is *INPUT. These attributes determine whether the field accepts input, as input text box, or only displays output.

Note      Note an important distinction here:

...

  • You can open a WebRoutine in the Design view using the icon in the RDMLX source.
  • You can drag and drop fields and lists marked FOR(*OUTPUT) or FOR(*BOTH) onto your page at any time from the tab.

...

  • How to create a simple enquiry WAM.
  • How to open the Design view for a specific WebRoutine.
  • What is generated by a WAM compile.
  • A WAM may contain more than one WebRoutine.
  • A WebRoutine name may be up to 20 characters long.
  • There is one WAM layout generated for each WAM with the name xxx_layout, where xxx = the WAM name.
  • By default, fields are visualized as a label and edit box.
  • Fields are displayed in a table.
  • A WebRoutine may be called by a weblet such as a push button, via its on_click_wrname property.
  • Field names or a group_by may be used to define fields in a web_map.