on 12-14-2007 5:49 PM
Hi Gurus,
I need your help with something.
I have a dynamic context node in ComponentA. I want it in Component B too.
Component B uses Component A, but I am not able to get access to the context node.
Is it possible to do this? Any suggestions how to proceed.
PS: I am trying to do a dynamic mapping. The initial scenario was here,
Thanks in advance,
Anjana R.
Message was edited by:
Anjana Raghav
Hi Gurus,
Its working now. Earlier, the code was something like this....
IWDNodeInfo compNode = wdThis.wdGet<i>Comp</i>Interface().wdGetAPI().getContext().getRootNodeInfo().getChild(nodeNm);
viewNodeInfo.setMapping(compNode,true);
and was trying to map it using
iewNodeInfo.addMappedAttribute("order",".<i>Comp</i>."+ nodeNm + ".order");
Now, I am mapping like this.
viewNodeInfo.addMappedAttribute("order","order");
Thanks,
Anjana R.
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 | |
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.