EGL pageHandlers, VisualAge® Generator Web transactions, and EGL VGWebTransaction
parts can forward control and data to each other, but each forwards control
and data in a different way.
To forward control from a pageHandler to a VisualAge Generator Web transaction
or EGL VGWebTransaction part, use the EGL
forward statement.
To forward control from a VisualAge Generator Web transaction or EGL VGWebTransaction
part to an EGL pageHandler part, you must modify the JSP file associated with
the Web transaction.
- If the JSP file associated with the Web transaction uses a form tag,
modify the action attribute of that tag to reference
the URL of the JSP file associated with the pageHandler.
- If the JSP file associated with the Web transaction uses a anchor tag,
modify the href attribute of that tag to reference
the URL of the JSP file associated with the pageHandler.
- To pass parameters to a pageHandler, use the same method as in passing
parameters from a pageHandler to a Web transaction. If the pageHandler is
set to receive parameters in its onPageLoad function, you can add those parameters
to the end of the URL in name-value pairs separated by the and symbol (&).
Related tasks
Configuring a project to run Web transactions
Adding Web transaction support to an EGL Web project
Related reference
forward
Linkage properties
PageHandler part in EGL source format