cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter mapping

Former Member
0 Kudos

Hi,

when someone maps the nodeElement parameter of the onAction method of a ToolbarButton, what can someone expect to be passed at runtime? The table's current lead selection?

Also, does someone knows if a comprehensive parameter mapping reference exists? I mean a guide that shows for every UI control available all the parameter mappings a programmer can do and what type of information one can get.

Thank you,

Pietro

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The "nodeElement" event parameter is available when a UI element is used inside a "context-driven" UI element like a Table, RowRepeater, Tree etc. In all these cases, the "nodeElement" parameter will contain the context element that represents the table row, row repeater row, tree node etc. This has nothing to do with the lead selection of the table or the tree selection of the tree.

For every UI element there exists an inner interface IWD<EventName> with constants that denote the names of all defined event parameters. The Javadoc for these constants contains the information about the type of the event parameter and a code example of a parameter mapping.

Former Member
0 Kudos

Thank you

Answers (0)