on 06-02-2009 5:16 AM
Hello all,
I have written the following code in my wdDoModifyView code of a view. I am using NWDS 7.0. I need to do parameter mapping to handle a Tree Event. The code is
if (firstTime) {
IWDTreeNodeType treeNode =
(IWDTreeNodeType) view.getElement("tnt_ProductHierarchy");
treeNode.mappingOfOnAction().addSourceMapping(
"path",
"selectedElement");
}
Now i want to use the "selectedElement" in my code for handling Tree Selection Event. But it is not happening. I have done organize imports also. What can be the problem?
Problem is solved. The solution is:
"The name of the event parameter to which is mapped must correspond to the parameter of the event handler. In this example, the parameter is called element."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.