VGWebTransaction stereotype

A program part with the VGWebTransaction stereotype controls the user's runtime interaction with a web page. Unlike a JSF handler, a VGWebTransaction relies on one or more VGUIRecord parts to communicate with the web page and show HTML fields and control structures. The fields in these VGUIRecords define the input and output fields and the links and buttons shown on the web page.

A VGWebTransaction uses VGUIRecords in these ways:
  • To receive data from a user's web-page submission, the VGWebTransaction must reference a VGUIRecord part in the VGWebTransaction's inputUIRecord property. See "Program part properties."
  • The VGWebTransaction must create one or more variables of type VGUIRecord and reference these variables in each converse or show statement that presents the web page. The web page is rendered according to the fields in the VGUIRecord parts.