Show TOC Start of Content Area

Procedure documentation Mapping the Generic Event Parameter nodeElement  Locate the document in its SAP Library 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

       4.      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 

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

Note

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

 

End of Content Area