on 04-20-2007 5:29 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.