on 12-16-2011 11:43 AM
I have Create one webdynpro java application with two views.In first view i enter the details like Id,Name,& date of joining and in second view i have taken a table to save the data which user entered.
How I can save that data into the table?
Edited by: DhananjaySanap on Dec 16, 2011 12:44 PM
just create a element of the Node which is bind to your table.
set the element with value you got from the first view.
the node you bind to the table should be in Component controller originally, then both first and second view can be mapped to that node. and you can manipulate the same data in both views.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here Now I got the Error as IDetailsElement & IEmployeeDetailsElement can not resolved.
IDetailsElement newelement = wdContext.nodeDetails().createDetailsElement();
IEmployeeDetailsElement element = wdContext.nodeEmployeeDetails().currentEmployeeDetailsElement();
newelement.set(element.getID());
newelement.set(element.getName());
newelement.set(element.getDateofjoining());
wdContext.nodeDetails().addElement(Detailselement);
Hi
Iterate through the size of array and search what you want at that instance
For example you want to seach employee name
for(int i=0;i<wdcontext.nodeNodename.size();i++)
{
if(wdcontext.nodeNodename.getnodeNodenameelementat(i).getEmployeename.equals(search parameter))
return i;//or print details of i
}
thanks and regards
Suresh
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.