Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.