The definition of transactions as web components enables
reuse of this code that is displayed in web interfaces and facilitates
consequent maintenance of web applications.
Let us remember that web components may be run
independently or may be part of another web object -web panel or web
transaction- granting GeneXus web-application designers a high level of code
reuse.
The possibility of defining a transaction as a web
component enables display of several components in a web panel. Some will
contain transactions (for additions, deletions, and data modification) and
others will contain web panels that will show related information, menus,
etc.
In the following image, for example, you can see the grid
where the names and addresses of clients are shown, and below, the transaction
defined as web component, where this information may be modified.
How is a transaction defined as a web component?
The definition and use of a transaction as a web
component is similar to that of web panels as web components.