O4WForm routine
Description
Generate a full web page.
Syntax
O4WForm(templateId, style)
Parameters
The function has the following parameters:
Parameter | Description | |
---|---|---|
templateID | The HTML record to be used as a template. If templateID contains a space, it is considered to be an OI table and record name (<table> <record>); if there are no spaces, it is considered to be an OS file. | |
style | When specified, the style is applied to the table that is generated. Note that style can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions. |
Remarks
Generates and saves "O4WUniqueID" value on form, which is then available on subsequent requests to uniquely identify the current form.
Either the O4WForm or O4WResponse call MUST be called before specifying any other controls or style information in your O4W project.
O4WResponse is used to generate a partial response (of the desired type), typically in response to an event on a form originally generated with O4WForm. Note that O4WForm also generates a value (accessible via O4WGetValue(“O4WUniqueID”)) that can uniquely identify the form during subsequent processing.