Try OpenEdge Now
skip to main content
WebSpeed Essentials
Tools and ABL Support : Language support : WebSpeed source files
 

WebSpeed source files

All SpeedScript source files provided with WebSpeed, including web-disp.p, web-util.p, example Web objects, and other SpeedScript source files, reside in directories under install-path/src/web and install-path/src/web2.
The source files in install-path/src/web are described as follows:
*Examples — Contains the source for Web object examples described in this manual, including HTML and offset files. It also contains additional examples of interest.
*Method — Contains the source for various SpeedScript compile-time include files (similar in function to C include files) that define some of the method procedures and API functions used by WebSpeed to construct Web objects.
*Objects — Contains the source for the main Web object dispatch procedure web-disp.p and the utility object web-util.p.
*Support — Contains all of the tagmap utility procedures for HTML-mapping Web objects that are specified in tagmap.dat and that define the default web.input and web.output control handlers for supported HTML form element and SpeedScript field object types. It also contains some run-time procedures for debugging and interpreting the offset file for an HTML-mapping Web object.
*Template — Contains skeleton files used to create new Web objects and other types of support objects and files, including:
*A file that defines the New File links that use these templates in the AppBuilder Files component (web.cst).
*A blank embedded SpeedScript file template (script.html)
*An embedded SpeedScript template for creating a database browser (browse.html)
*An embedded SpeedScript template for creating an application welcome page (main.html)
*A HTML frame set template (frameset.html).
*An embedded SpeedScript template for generating a table of database fields that can be executed by another Web object (table.html)
*A SpeedScript procedure file template (procedur.p)
*A SpeedScript include file template (include.i)
*A CGI Wrapper template for creating a SpeedScript-generating Web object (wrap-cgi.w).
*A HTML-mapping template and include files (html-map.w and hmapmain.i) for creating an HTML-mapping Web object
The source files in install-path/src/web2 are described as follows:
*Super procedures — These are .i and .p files that contain the definitions of WebSpeed super procedures. To use super procedures, you include the .i file in your ABL code rather than running the .p file directly. Super procedures are in the install-path/src/web2 directory.
For more information about super procedures, see OpenEdge Deployment: Managing ABL Applications.
*Templates — Code relating to WebSpeed Report, Detail, and HTML Mapping wizards is in the install-path/src/web2/templates directory. These files can be used as models for creating custom templates that can be made accessible to the AppBuilder through a .cst file.
There are two kinds of files in the template directory. First are the .w and .i template files. These are used to create new objects that can be made available from the AppBuilder palette. More information on using .w and .i template files to extend AppBuilder can be found in OpenEdge Application Server: Developing AppServer Applications.
The second type of file is the HTML template files (.dat files) for the report and detail wizards. These can be used as examples of how to create new wizards that create embedded ABL files (.html files). Each .dat file has a companion .w file with the same filename (for example, wreport.w and wreport.dat) that acts as a SpeedScript wrapper for the .dat file.