on 12-21-2006 2:24 PM
Hi all,
I have a class array object in which all data comes at runtime.
I created a node in context.
i have to add the element to node. i ahve used that node as a datasource to table UI.
EmpWrapper e[] = null;
e = tmp1.Get(wdContext.currentContextElement().getDIVISION());
// i am getting all data in e[]
if (e.length != 0)
{
for (int i=0;i<= e.length;i++){
//how to add the e data to node EMP in context
}
}
for (int i=0;i<= e.length;i++){
EmpWrapper wrapper=(EmpWrapper )e.get(i);
//Create element of node EMP
//get the value from wrapper.getXXX() and set the value to the element
//add the element to the node
}
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shefali,
Here is the link to create dynamic context nodes and its attributes.
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b3f6e990-0201-0010-c087-c865f2c738b3
Regards,
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your code looks somewhat strange to me. Can you please describe more exactly
- in what datastructure you get the data
- how your context structure looks like
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 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.