Show TOC

 Common UI Element PropertiesLocate this document in the navigation structure

In Web Dynpro, the UI elements are defined as interfaces. All independent elements are derived from the abstract base classes IWDUIElement and IWDViewElement, whereas the aggregated elements are derived from abstract base class IWDViewElement.

Universal Properties
  • id

    Describes the ID that uniquely identifies this view element within its containing view

  • enabled

    This property specifies whether or not an event can be triggered by a user interaction.

    Note

    Property enabled has no effect on the UI element children that you inserted into the UI element container. If, for example, you set property enabled to false in the UI element group, an input field inserted in it is not automatically deactivated. If you also want to deactivate the UI element children in this UI element group, you need to set the relevant property for each UI element separately.

  • tooltip

    This property describes a note for the UI element that is displayed when the user places the cursor on the UI element.

  • visible

    This property specifies the visibility of the UI element. The default value for this property is visible.

    • visible. The UI element is displayed on the screen.
    • none. The UI element is not visible on the screen and takes up no space.
    • notYet. The UI element is not yet visible in its view and is treated like NONE. It can be made visible by personalization. This can be used to ship hidden parts of a screen which can then be made visible on demand.
    • always. A UI element is always visible and cannot be hidden by personalization.
    • blank. The UI element is not visible on the screen but takes up space.
      Note

      This value should not be used for security reasons. Use none instead.

Advanced Properties

You can also assign a context menu to every UI element and specify the behavior of the context menu.

Note

To set these properties, you have to make them visible. To do this, navigate in the view designer for your NWDS to the properties tab and select Show Advanced Properties, as shown below:

  • contextMenuId

    Describes the ID that identifies the context menu you want to assign to this UI element. 

  • contextMenuBehaviour

    Specifies the behavior of the assigned context menu. The default value for this property is inherit. This property can take the following values and is represented by enumeration type WDContextMenuBehaviour:

    • inherit

      Inherits the menu behavior from the parent view element

    • suppress

      Suppresses the context menu. No context menu will be displayed.

    • provide

      Provides the context menu, even if the parent element suppresses it.