iTP Active Transaction Pages (iTP ATP) Programmer's Guide

HTML Forms Generator
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
C-4
Finishing the Generated Page
Finishing the Generated Page
To prepare the generated page for use, you should
Test it by opening it with a browser.
Add field validation logic and default values.
Add security logic if your application requires it.
Add error handling and message.
Add code to support COBOL redefines, C unions, and COBOL occurs. The last of
these features is optional but improves the appearance of the page.
Usage Considerations
When using the Forms Generator, consider using the following techniques:
You can use bookmarks to save the current list of message layouts and parameter
settings for later use. Type a bookmark label in the appropriate box and click the
Prepare to Bookmark button. Then use the facilities of your browser to save the
bookmark. When you later retrieve the bookmark, you implicitly run the Forms
Generator.
Complex message layouts can result in very large generated pages that can be costly
for ATP to parse and therefore slow to load. For large pages, use the
ATP_PAGE_CACHE_SIZE environment variable, described in ATP Environment
Var ia bl es on page 2-12, to allocate a cache; use of a cache dramatically speeds up
subsequent loads of the same page.