Modes (General)

ActionIcon Description

This node is included as a child of General and ParallelTransaction nodes. In it, it is possible to configure how standard actions will be treated in the corresponding General or ParallelTransaction interface.

The developer may choose to disable some of the standard actions in design time, or include conditions that will determine the presence of the action in runtime.

Note that these conditions are not to be used as a security mechanism, but as a usability improvement for the end user. Even with these conditions in place, if the user acceses the transaction directly in one of its modes, the condition will not be evaluated and the user will be able to perform the operation.

To disable a transaction completely use the K2BTools security mechanism.

Runtime appearance

The effect of using this node are visible in the generated interface in the actions that are presented to the user. By default, all actions are visible, in the following example, the update action is disabled.

TabularModesDefinition TabularModesRT
Instance definition Runtime result (before and after changing the default behaviour)

Properties

Category Name Value
Modes Update Determines if the update action is active in this interface. This property's default value is loaded from K2BEntityServices Settings.
Delete Determines if the delete action is active in this interface. This property's default value is loaded from K2BEntityServices Settings.
Conditions Update Condition Contains a condition that will be executed in runtime to determine if the udpate action will be shown to the user.
Delete Condition Contains a condition that will be executed in runtime to determine if the delete action will be shown to the user.
Edit Mode Edit Mode Insert

Determines the way the Insert mode will be executed inside the Entity Manager.

If set to "InPlace", the transaction will be shown in the same place where the component is shown in Display mode.

If set to "Popup", the transaction will be shown as a Popup screen.

This property's default value is loaded from K2BEntityServices Settings.

Edit Mode Update

Determines the way the Update mode will be executed inside the Entity Manager.

If set to "InPlace", the transaction will be shown in the same place where the component is shown in Display mode.

If set to "Popup", the transaction will be shown as a Popup screen.

This property's default value is loaded from K2BEntityServices Settings.

Edit Mode Delete

Determines the way the Delete mode will be executed inside the Entity Manager.

If set to "InPlace", the transaction will be shown in the same place where the component is shown in Display mode.

If set to "Popup", the transaction will be shown as a Popup screen.

This property's default value is loaded from K2BEntityServices Settings.