Hi,
I was doing some small application in which I have to transfer data from one view in one component to another view in another component.
Say PrimaryComp has a view called PrimaryView in which 3 input fields are there for user to enters details.
Primaryview has two buttons:
1)Add - If clicked, the data should be stored in a table which is in another component say SecondaryComp.
2)Next - If clicked, control should transfer from PrimaryView of PrimaryComp to SecondaryView of SecondaryComp. (I mean that view should come in PrimaryComp window).
What i did is
*Added SecondaryComp as a used component in PrimaryComp
*context mapping done between Interface controllers (SecondaryComp) to Component controller(PrimaryComp).
wirtten a code to create context element to hold the data and mapped it.
But something is wrong in the procedure I do. Controls transfers from one component to another (works fine) but data is not there in the table of SecondaryView.
Please clarify me.
P.S., I am new to WebDynpro Java. I tried it within the same view which works fine.
Best Regards,
Manoj