cancel
Showing results for 
Search instead for 
Did you mean: 

How to exchange data between 2 views without cust/comp controller

Former Member
0 Kudos

Hi

How will I exchange data between 2 web dynpro views without using a component or a custom controller.

Thanks

Ananda

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Ananda,

What you are trying to realize, is not according the MVC-concept. Two views communicate with each other via a controller.

Like all the other ones said just make a custom controller.

Good luck, Sandhya

Former Member
0 Kudos

Hi Sandhya,

I know that this breaks with the MVC concept, and I don't recommend to use the method I posted, as long you can avoid it.

Former Member
0 Kudos

hi,

thanks for reminding me. I will send <b>only correct links in future</b>

there is a discussion going on now

this is the exact link

Regards

Rohit

Message was edited by: Rohit Radhakrishnan

Message was edited by: Rohit Radhakrishnan

Message was edited by: Rohit Radhakrishnan

Former Member
0 Kudos

Thanks Rohit

I have got some idea but how can I directly access context of view1 from view2

Regards

Ananda

Former Member
0 Kudos

Hi Ananda,

There is no way that you can access a view's context from another view. The only way you can pass data between views belonging to the same component without using component/custom or interface controller is by using plugs. But if you need to pass some large quantity of data, this becomes very tedious. So the best way is to use the comp/cust controller itself.

Hope this helps,

Best Regards,

Nibu.

Former Member
0 Kudos

Hi,

If you are not using context mapping you can only pass parameters through plugs. You cant access context of one view from another view directly.

Regards

Rohit

Former Member
0 Kudos

Hi,

it <b>IS</b> possible. I posted the solution to the other existing thread about the same topic, please check out

Regards

Mathias

Former Member
0 Kudos

hi ,

See this link

Hope this helps you

Regards

Rohit

Former Member
0 Kudos

Rohit

Please send correct links in future