cancel
Showing results for 
Search instead for 
Did you mean: 

Value transfer from one view to another.

Former Member
0 Kudos

I am trying to create one screen where two views are there. For that I have created a view set and embedded the views in the view set. Both the view contains a table. Now depending on the selection of row in the first table I want to populate the second table. How to do that? can anybody help me..

<b>NOTE: Two tables are in different view but in the same screen</b>

rgds,

Soumen

Accepted Solutions (1)

Accepted Solutions (1)

vijayakhanna_raman
Active Contributor
0 Kudos

Hi Soumen,

1)U create a node with value Attributes equal to the no of rows in the table of view1.

2)Then create another node for table same as view1 in the view2 .

3) Similarly create a node in the component controller of the application.

4) Map the nodes of view1 to controller node and view2

to contoller node by right click Edit context mapping.

Hope this helps u,

Regards,

Vijayakhanna Raman

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Also dont forget to add the component controller in the properties of the view1 and view2.

Properties tab>Add>select component controller-->Finish.

Then do the context mapping between component controller and the views as said in the above postings.

Regards,

Rathna.

Former Member
0 Kudos

Hi Soumen,

You can use the context of the component controller to pass values from one view to the other.

In the first view assign the data that you want to pass to an attribute in the component controller, in the second view have a context attribute mapped to the attribute in the component controller. Now you have passed data from one view to the other.

I hope this helps,

Patrick.