WebSpeed
Developer’s Guide
Transaction Control with HTML-mapping Web Objects
WebSpeed allows you to code an HTML-Mapping Web object by customizing well-defined sections of the code managed through the AppBuilder Code Section Editor.
In addition to the outputHeader and process-web-request procedures (described in the "Implementing Transaction Control" section), the default HTML-mapping code sections include:
- htmOffsets—(Read only) A procedure that automatically associates each form field with the corresponding field object (widget) in the Web object. The AppBuilder provides this section for reference only.
- Definitions—Where you can code preprocessor, parameter, and variable definitions that apply to the entire Web object.
- Main Code Block—The main-line of a Web object that performs initialization and executes process-web-request. Generally, this is not a section that you modify unless you want to execute code once the first time a state-aware Web object is called.
- Control handlers—Where you can override the default
web.input
andweb.output
control handlers for a specified field object. This code section appears only in HTML-mapping Web objects.- ADM methods (event procedures)—Procedures that provide standard behavior for the HTML-mapping process-web-request and other sections of an HTML-mapping Web object. You often create overrides to these standard event procedures, for example displayFields, assignFields, or initialize.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |