on 09-20-2008 6:34 PM
Hi,
I am for the first time trying to work with multiple components. My task is to navigate from first component's view to the second component's view. I had did the following..
1) created 2 comps say first comp and second comp with first view and second view respectively..
2) in the first comp, i added second comp in the used Dc
in the second comp, i added first comp in the used Dc
3) in the first window i embedded the second view by embed interface view of a component instance and created the navigation link between first view and the embedded second view.
in the second window i embedded the first view by embed interface view of a component instance and created the navigation link between second view and embedded first view.
4) created one button to fire from first view to second view and another button to fire from second view to first view, in the first and second views respectively..
5) i am getting two errors...
Component FirstComp: Cycle in component usage definitions: SecondComp
Component SecondComp: Cycle in component usage definitions: FirstComp
Please help me to recover from this error.....
Hi,
go through this doc:[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845]
Regards
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kandha,
Your approach will not work as it creates a cyclic dependency situation. You can use applications in different components to navigate across them. See [this article|/docs/DOC-8061#12] and [this blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10931] [original link is broken] [original link is broken] [original link is broken];.
Hope this helps.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
we have implemented same like this but in different fashion. That was working.
we took master component to embed these two views. In the masterComp, add the individual components and in the view u have to take ViewContainerUIElement. so here we can embed those two views through interfaceviewcontroller.
For calling other view you can use following code.
wdThis.wdGetDisplayScreen1WinInterfaceViewController().wdFirePlugScreen1OUT();
Regards,
Lakshmi Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.