cancel
Showing results for 
Search instead for 
Did you mean: 

Component Navigation

Former Member
0 Kudos

Hi,

I have a component A and Component B , have to navigate to component A view through component B using different jump result state. Please let me know the details how to do this?

Thanks

Som

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This can be achieved by having a dispatcher view. Since through inteface controller there is no way to fire the events to the inner views. The introduction of interediate view and dispatching to the view from the intermediate view is possible. Following example can explain it

CompA

Compoent Controller -- Defined the event X which takes a param int - targetView. Define a event Y which takes the another int param targetView. Fire the eventY inside the impl of event X

InterfaceView Controller - include compoent Controller in proeprties and fire event X with param targetView

Create a new NavView : Defined a event Hadler for event Y defiend in compoent controller. Now suppose if you to navigate to view 1 and view 2 from outside. Define a out plug from navView to view1 and view2 and in the event hadler navigate to view 1 and view 2 with switch case.

Hope this helps!

Thanks,

Samir

Former Member
0 Kudos

Thank you Samir for the quick response.

Som

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Som,

just as an addition:

this scenario is described in my Web Dynpro Tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20sample%20applications%20and%20tutorials.htm#4">How to Navigate Inside Web Dynpro Component Interface Views</a>.

Regards, Bertram

Answers (0)