on 02-14-2007 8:35 PM
Hi
i am passing AttributeName to a method.I want to get the NodeName to which this attribute belongs to.
I am getting attributeInfo object for given attributeName:
<b>IWDAttributeInfo attinfo = wdContext.getNodeInfo().getAttribute(strAttributeName);</b>
From This i want to get NodeName it belongs.Please help.
I tried with attinfo.getNode().getName .This is not working as i expected.
Thanks
Prasad
attInfo.getNode().getName()
should do the job. What's not working?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have a Node called "Shifttab" under which i have attribute called "Shiftinfo".
now i am passing attribute name("Shiftinfo") to a method.
in the method i wanted to do following way
IWDAttributeInfo attinfo = wdContext.getNodeInfo().getAttribute("shiftinfo");
attinfo.getNode().getName() is not returing node name "Shifttab" as expected.
i can do this wdContext.nodeShifttab().setShiftinfo("10");
but i wated to do dynamically.Please help
Thanks
Prasad
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.