You can modify the way HTML templates are generated from BMS
maps by coding your own version of the DFHMSX macro. You can specify:
- the 3270 keys that are represented by buttons
- the text or image that is displayed on each button
- the title of the HTML page
- a masthead graphic to be displayed at the top of the HTML page
- the page background as a graphic file or color
- the color of normal text, unvisited links, visited links and active links
- whether the page should include an HTML reset button, and the text displayed
on it
- a mapping between the colors used in the BMS map and the colors used for
the corresponding text in the HTML template
- which BMS fields should be suppressed from the HTML page
- JavaScript onLoad() and onUnload() exception handlers
- whether the text in the template is to be displayed in a proportional
or non-proportional font
- the code page to be used when the template is generated, and the code
point to be used for the special characters []{} and !
- that protected fields should be right-aligned in the HTML page
Note: - The ATTRB=BRT option of a BMS field has no effect for an unnamed, unprotected
(input) field.
- DFHBMEOF, a 3270 attribute bit of the attribute byte of a field named
in the logical map, is not set if the field is emptied (for example, with
the DEL key), or if the field was already empty (nulls or spaces) on the
previous SEND command and that field's Modified Data Tag (MDT) was off.
When you code your own version of the DFHMSX macro, you
can specify that the options you code apply to:
- All maps in all map sets
- All maps in certain map sets
- Individual maps