Show TOC

Procedure documentationMapping the Generic Event Parameter nodeElement Locate this document in the navigation structure

 

The nodeElement parameter references the corresponding node element in the context to which the UI element is assigned. For example, when you use a button as TableCellEditor in a table, this parameter can be used to determine which table row the button was pressed in without having to analyze the lead selection.

Procedure

Adding a parameter to the action
  1. In the ViewDesigner, switch to the Action view, select the corresponding action and select New beneath the Parameter table.

  2. Assure that the checkbox for Adapt event handler parameter is checked.

  3. Select Java Native Type and enter IWDNodeElement in the input field type, as shown in the screenshot below:

    This graphic is explained in the accompanying text.

Mapping the parameters
  1. Switch to the Layout view, select the UI element in the Outline, and select Parameter Mapping in the context menu.

    This graphic is explained in the accompanying text.

  2. Select the action’s nodeElement parameter and drag and drop it to the event parameter nodeElement for he UI element.

    Note Note

    You can use the specific type of node element I<node name>Element

    End of the note.