Navigation between the two components
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.....