Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Generating HTML Visualizations : Generating HTML tables with a custom tag : Using the table template
 

Using the table template

The table.html file provides an embedded SpeedScript template to build your table procedure. The installed template is written to output a two-column table of customer names and phone numbers from the sample Sports2000 database installed with WebSpeed.
To customize this template:
1. Make a copy of the table template.
2. Customize the template as needed.
3. Open the template in Workshop.
4. Compile the template to generate an r-code file.
5. Do one of the following:
a. Specify the generated r-code file (.r) in the HTML file using the FILE attribute of the custom tag.
b. Specify the generated r-code file (.r) as the initial value of the fill-in field object associated with the custom tag in the HTML-mapping Web object. (Skip Step 6.)
6. Open the HTML file from Step 5a in Workshop to generate an associated HTML-mapping Web object.
7. If you want to make the customized template available directly from AppBuilder, modify install-path/src/template/web.cst to install the HTML file in the AppBuilder New dialog box.