on 03-08-2011 9:09 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.