guides:o4w:o4w_api:o4wform

O4WForm routine

Generate a full web page.

O4WForm(templateId, style)

The function has the following parameters:

ParameterDescription
templateIDThe 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.
styleWhen 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.

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.

  • guides/o4w/o4w_api/o4wform.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1