cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate between views

Former Member
0 Kudos

Hi all.

there are two DCs : DC1 and DC2.

in the DC1,there is a view v1 which is default in its window. in the DC2 there is a view v2 whick is not default in its window .

if i want to navigate to view v2 in the DC2 from view v1 . how to do ?

THX .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi zhenhua,

You could add DC2 in usage componets of the DC1, then create a view in DC1 and add the view that you want from the DC2 like Interface view container, now you can create the navigation between the views.

Regards.

Eduardo Campos.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

Call the window of the other controller.

Best Regards

Ravi

Former Member
0 Kudos

Hi Dear..

there are two DCs : DC1 and DC2.

in the DC1,there is a view v1 which is default in its window. in the DC2 there is a view v2 whick is not default in its window .

if i want to navigate to view v2 in the DC2 from view v1 . how to do ?

Solution...

You want to navigate view2 to view 1...

firstly you have to add DC1 into DC2 as used Dc in nwds..option before that you have to create public part of Dc1 as component..

when you going for adding Dc1 into dc2 you have to chhose public pat of DC1...

after that you will go to USED WEBDYNPRO COMPONENT then right click then add used component of DC1 component..now all resouce of dc1 is available in your dc2...through interface controller of Dc1..

then come to window -right click-open window navigator-create one wxtra Empty view and while you create view you will get 4 radio buttin optionchhose last one..(create interface view of component controller)then choose your dC1 interface upto last..select as dc1interfaceview....

firstly create outbound in dc2 view...as you did before

then..do the navigate...dc2 view to dc1 interfaceview at window navigator page

then built and run the application...

thanks

sjati

Former Member
0 Kudos

Hi ,

using different windows & calling the respective views.

Best Regards

Ravi

Former Member
0 Kudos

Hi ,Ravi Golla

if i use different windows & calling the respective views. some navigation links will be invalid in the window .

Former Member
0 Kudos
former_member186016
Active Contributor
0 Kudos

Hi,

In CE (i.e. component should be version of CE) you can do following:

In DC2 create an inbound plug on the interfaceview which is implemented by the window contatining the view.

In DC1 create a component usage from component in DC1 to the component in DC2.

Open the navigation modeler for window in DC1. In the pallete drag and drop the interafce view option. Select the interface view from DC2. Now you will see the interface view with the inbound plug. Simply connect the outbound plug to the inbound plug of the interface view to create the navigation.

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hi,

You need to use componentization for that. To learn how to use componentization please go through the following liks:

/people/sudhir.gorantla4/blog/2008/02/27/componentization-of-webdynpro-application-in-ce71

/people/bertram.ganz/blog/2007/01/19/new-web-dynpro-java-tutorial--component-interface-definitions-in-practice

Regards.

Amit