on 07-08-2009 6:33 PM
Hi guys,
I need your help very much! In my WD applicaton, I have this scenary in Context of View:
NODE01
- NODE02
- NODE03
- ATTRIBUTE01
Details:
======================
NODE01
======================
cardinality: 0..n
selection: 0..1
singleton: true
======================
NODE02
======================
cardinality: 0..1
selection: 0..1
singleton: true
======================
NODE03
======================
cardinality: 0..1
selection: 0..1
singleton: true
In my View I have a loop in NODE01:
for (int i=0; i < NODE01.size(); i++) {
NODE01.get{n}ElementAt(i)...(???)...ATTRIBUTE01
}
How can I access the ATTRIBUTE01 from NODE01?
Thank you, very much!
Kleber
Hi Kleber
Did you want to say ATTRIBUTE1 from NODE3, right?
Try this.
for (int i=0; i < NODE01.size(); i++) {
NODE01.setLeadSelection(i);
Object obj = wdContext.currentNODE3Element.getATTRIBUTE1();
}
I don't have sure if this works. But i think yes.
Regards
Marcos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
wdContext.currentNODE03()Element().getATTRIBUTE01()
The lead-selection must be set for all three nodes.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.