cancel
Showing results for 
Search instead for 
Did you mean: 

how to link between two window?

Former Member
0 Kudos

Hi every one,

I have one question now.

When I use web dynpro , I find ,I can create two window ( not view)

Then I create two window , one name is win1 ,another one is win2.

but I dont know how to navigator between two window

can you give me some code or step?

and

why we use window?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Elisa,

You have 2 windows as below in 2 seperate components.

Window1 (Component1)

Window2 (Component2)

Window1 create an Outbound plug.

Window2 create an Inbound plug with interface checked and an Outbound plug no need for this plug to be interface node for this scenario.

Now fire an outbound window plug of Window1 and embed Window2 in Window1 also, create navigation from Window1 outbound plug to Window2 inbound plug.

Now, In Window2 for your inbound plug method you can fire your window2 outbound plug and create your navigation link for this outbound to any view of Window2.

If helpful points would be appreciated.

Thanks & Regards,

Abhinav

arjun_thakur
Active Contributor
0 Kudos

Hi Elisa,

why we use window?

If we have a reqirement to to show some data in a pop up window or we want to display data in a new browser window, in that case we have to use more then one window.

If your requirement is to create a pop up window: then create a new view and a window, embed the view in this window. Now in you want to open a pop up window on some action, then go to that event handler and create a pop up window with the help of code wizard.

If you want to navigate to another browser window, for this please refer this [thread|]. I am sure it'll help.

Regards

Arjun

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Window is sort of repository to store views. You can have mutiple views stored in View and navigation between views is achieved by creating navigation links between views.

about navigation between 2 windows, i am also do not have much idea.

Regards,

Chandra

Former Member
0 Kudos

I create 4 views , name are : v1 , v2 , v3 and v4

I create 2 windows , name are w1 and w2

I embed v1 and v2 into w1

I embed v3 and v4 into w2

and every view have one inbound and one outbound

such as :

v1's inbound is v1in

v1's outbound is v1out

v2's inbound is v2in

v2's outbound is v2out

v3's inbound is v3in

v3's outbound is v3out

v4's inbound is v4in

v4's outbound is v4out

I want to navigator from v1 to v3 , how can I do?

arjun_thakur
Active Contributor
0 Kudos

Elisa,

If you want to navigate from V1 to V3 then you can go for POP UP window. To navigate from V1 to V3 you need to trigger some action (i.e you need to use some button or link to action). In that event handler method, create a pop up window with the help of code wizard(ctrl + F7).

I hope it helps.

Regards

Arjun

Former Member
0 Kudos

Hi Arjun ,

thanks your reply

I dont want pop window

I want another normal window .

arjun_thakur
Active Contributor
0 Kudos

Elisa,

Refer this link: and look for suman kumar's reply in it. Also refer to the thread i gave you in my previous post. See the code provided by pranav. I hope with this you would be able to solve your proble.

Regards

Arjun