Unofficial Content
  • This documentation is valid for:

Patterns - Work With View Node


Defines the View webpanel like View Organization.
 
A link is generated on the right top corner of the View. It allows executing the Work With of the object that is currently visualized.
Usually, the path followed to get to the View of any object does not matter, because as all the application is interlinked you do not get to the same object through the same path. This is the reason for generating a link to the Work With of the object that is being viewed.

Parameters

Parameters with which the View is called.

Fixed Data

This is the set of attributes presented over the Tabs. It's usually the Description attribute .

Tabs

Defines the Tabs of be presented. Usually the first Tab is the 'General' one which present the information related with the TRN level. There are also a Tab for each subordinated table.

The following properties of each Tab can be configured:
  • Page - Quantity of rows to be shown in the grid
  • Type Tab type. The available types are the following:
    • Tabular. Data will be shown in flat format. The General tab is of this type (see here).
    • Grid. Usually this type of tab is used to present subordinate tables (see here).
    • UserDefined. In this case a webcomponent will be called. It's developer responsability to write this webcomponent. It will be called with the same parameters of the View.
  • Condition. It indicates whether the Tab will be shown or not, depending on the condition. Ex: in this property you can write: CustomerType = 8 and the tab will be shown only on this case. Also, you can use procedures (called using udp) as long as these procedures return a "boolean" value.

Tab General
It is the one showing the flat data of the table. By default, it is Type = Tabular, and it has the following data:
  • Attributes - It indicates the attributes to be shown within it
  • Actions - Actions executed on the database that can be performed with the information shown.

RelatedTabs
The rest of the Tabs show information of the tables related to the main table. By default, they are Type = Grid, and they have the following data:
  • Name of the TRN whose data will be shown
  • Parameters to be used to call the TRN
  • Modes to be enabled for these parameters. In the InsertCondition, UpdateCondition, DeleteCondition and DisplayCondition properties, you can enter the condition that indicates whether the Mode will be shown or not. In this conditions you can use procedures (called using udp) as long as these procedures return a "boolean" value.

Maintaining this structure of objects related to each other allows maintaining a consistency between those data visualized in the Tabs (browsing through the TRNs) after executing any action on any currently visualized data.


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant