Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
SpeedScript : Using <META> and <!--WSMETA --> tags
 

Using <META> and <!--WSMETA --> tags

WebSpeed supports <META> tags and <!--WSMETA--> custom tags to specify how an embedded SpeedScript file is to be preprocessed. These tags provide two types of information:
*Whether (and how) a SpeedScript include file or a procedure file (Web object) is generated from the embedded SpeedScript file
*How the embedded SpeedScript Web object outputs HTTP header information
The following sections describe how to specify this information using <META> tags. However, some authoring tools allow you to specify <META> tags only in the header section (starting with the <HEAD> tag) of a Web page. If you are writing an HTML file fragment that is part of a Web page body, there is no place to include <META> tags, especially for file type information. WebSpeed provides the <!--WSMETA--> custom tag to work around this.
To use this WebSpeed tag in an embedded SpeedScript file, include the same options in the <!--WSMETA--> custom tag that you ordinarily include in the <META> tag. The <!--WSMETA--> custom tags are preprocessed exactly like <META> tags.
In the following sections, you can replace <META> tag references with <!--WSMETA--> tag references unless notified otherwise.
* Specifying file type options
* Specifying HTTP header information
* Generating information prior to HTTP header output