Skip to Content
author's profile photo
Former Member

Parameter mapping

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Posted on Mar 08, 2011 at 03:20 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded