HTML skeletons are generated from the display file DDS, which is itself, generated from data in the model. Each skeleton that is generated is given a unique name in the format Hnnnnnnn (where nnnnnnn is a unique number greater than 0001025) and is created as a source member in the YMLSSRC MLS source file in the Y2WEB Web Option product library.
The HTML generator is data-driven-that is, the generator program has been written so that the generation process is controlled by data held externally to the program. While some of the HTML that is generated is screen-specific (such as the actual fields on a screen and screen titles), much of it is generic (such as screen/font colors and page headings/footings). This has two advantages:
Most of the generic HTML code generated is held in the YMLSSYNRFP Markup Language Skeleton Syntax file; changes made to data held in this file affect all skeletons that are generated. This file is owned by the YMLSHDRRFP MLS Header file, which is actually referenced by the HTML generator itself. As the generator parses the DDS source member for a display file, it determines the type of object (field, record format, and so on) it is processing, and uses the data held in YMLSHDRRFP and YMLSSYNRFP to generate the correct type of data for that object.
All generated HTML files include the following sections (each of which corresponds to a record on YMLSHDRRFP, which itself corresponds to one or more records on YMLSSYNRFP) generated in order:
In terms of basic layout, every generated HTML skeleton uses the following format:
*HEADER (generic)
*FORM (screen-specific) *FOOTER (generic)
The *HEADER and *FOOTER sections in YMLSSYNRFP are shipped with data and includes an example company logo, text, and sample hyperlinks.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |