cancel
Showing results for 
Search instead for 
Did you mean: 

Data movement from one window to other window in WD JAVA

Former Member
0 Kudos

Hi Experts,

Can you pls help me to understand the data flow between windows...In one component there are 2 windows ..each has its own view.. I need to navigate from one window to another window taking with data.

Any help will be rewared with points.

-Alok

Accepted Solutions (1)

Accepted Solutions (1)

Sreejith1
Contributor
0 Kudos

Hi,

In Webdynpro Java Windows are not holding any data.

Windows are like view containers. If you store your values in Controller, you can have this data anywhere.

I am not sure about your exact requirement, still

If you have one component, you can store values in controller context. Those datas you can take to view controller by context mapping (diagram view).

If You have two windows and both have views, take the data from the controller context to both iview context.Then both will be available there.

Let me know you need more.

Regards,

Ram

Former Member
0 Kudos

Thanks Ram for quick response,

Suppose I had created one input field(name) with action (Button)in view1-->Window1 and I want the "name "data display in View2-->Window2.

I created outbound plug in window1 and Inbound Plug in Window2..how I can create data link as both are in diff. windows...?

-Regards,

Alok

Sreejith1
Contributor
0 Kudos

Hi Alok,

You are thinking in diff way.

Actually you are moving from one window/View to other.But the one value which you are giving in every window/view is storing in controller.

Here my component have 3 attribute and in view1 i am mapping name and in view 2 address. Which mean.

In view1 if I enter name, it is actually storing in controller context(as it is mapped from there). So if i mapped the 'name' in view 2, it will be there.Because it is showing the value from controller.

got the idea?

Regards,

Ram

Sreejith1
Contributor
0 Kudos

Hi Alok,

Still you are having any doubts regarding above topic?

If yes, can ask

else please close the theread.

You will get more info about its flow from these tutorials.

http://www.sdn.sap.com/irj/sdn/nw-wdjava?rid=/webcontent/uuid/503f22f6-b978-2a10-bf97-ddc21267e752

Regards,

Ram

Answers (1)

Answers (1)

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Moved this  to right space.