Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Handling DISPLAY Output : Working with DISPLAY output : Formatting DISPLAY output
 

Formatting DISPLAY output

In general, DISPLAY output is formatted using SpeedScript frames. These are not HTML frames, but are logical structures maintained by SpeedScript to manage its output. There are several types of SpeedScript frames you can use to stream output to the Web, and this output can be organized into still larger, multi-frame stream pages. Stream pages are not Web pages, but logical sections of a Web page containing one or more SpeedScript frames. For information on the available types of SpeedScript frames, see the Frame Phrase entry in OpenEdge Development: ABL Reference.
Keep in mind that these SpeedScript frames and the larger multi-frame stream pages are structures that WebSpeed uses to format a single Web page for a single request. They do not, in and of themselves, return as successive individual Web pages, such as appears for large result sets from a Web search engine. They merely provide a means to partition and give structure to a single Web page using DISPLAY and other SpeedScript statements.
Note: Stream paging applies both to DISPLAY and PUT ({&OUT}) statement output. However, only DISPLAY (and SQL SELECT) statements output SpeedScript frames.
You can format DISPLAY statement output using two mechanisms:
*Paging options of the OUTPUT TO "WEB" statement to generate multi-frame stream pages
*HTML attributes of the WEB-CONTEXT handle to specify HTML that supports or modifies the formatting in SpeedScript frames and pages
* Paging options of the OUTPUT TO "WEB" statement
* HTML attributes of the WEB-CONTEXT handle