on 11-05-2009 10:52 AM
Hi Colleagues.
Im working on with java webdynpro by showing hierarchical data.
When I select a leaf item, I should get the possible parent items.
For Ex:
A
- B |
-
C
|
-
D
When I select D, I need to get the information as A-B-C-D.
How can I acheive this?
Thanks
Rakesh
Hi,
Try to use this method. Hope it will help.
wdContext.nodechild().getNodeInfo().getParent();
Regards
Jeetendra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rakesh
You can go up to the root using the following methods:
IDNode dNode = dElement.node();
IWDNodeElement cElement = dNode.getParentElement();
IWDNodeElement bElement = cElement.node().getParentElement();
...
BR, Siarhei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.