on 06-01-2007 12:30 AM
I have navaigation issue as follows:
The project has 2 component, comp1, comp2. comp1 has 1 view and comp2 has 2 view say view1 & view2.
When i trigger the event from comp1, view1, it goes to comp2, view1 say "Fill detail". Then when I trigger the event from comp2- view1 it goes to comp2-view2. There is a button called "Goto main page" in comp2-view2. When i click this button it goes to comp1-view1. Till this no issue..
Now I'm in main page ie comp1-view1. If I click the button "Fill detail" it goes to comp2-view2 instead of comp2-view1. <b>This an issue.</b>
But navigation plug defined between comp2-view1, comp2-view 2 only. I wonder how it goes to comp1-view1 into comp2-view2.
Hope I explained clearly, if not please let me know..
Thanks..
BM
Hi Bharathi,
Considering you have created a viewset in the Component 1 wherein you embed View 1 of Component 1 in one cell and the interface view of the Component 2 in another cell. You navigate from View 1 of Component to Interface View of Component 2. Interface View has a 1:1 relationship with the window (which holds View 1 and View 2 of Component 2). If this is the case you can set only one View to be default in a window. Please check if the View 1 of Component 1 is set as the default view, thereby navigating you from View 1 of Component 1 to View 1 of Component 2 always.
Regards,
Mathan MP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharathi
Check whether u created an interface plug to the comp 2-View2 and in implementation you might have fired the interface plug in the Action method of Comp1-View1.
regards
ambicasony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharathi,
When you make use of two webdynpro components say comp1 comp2
create an interface view for the comp2 so, when you trigger the action for the "fill application" button of comp1- view1, in your implementation you fire the interface plug of comp2.
check this link
hope it helps you..
regards
ambicasony
Hi,
Could you be more eloborate on how you are trying to achive this.
I mean the actions and events involved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shriram Kabra
Let me explain it agian.. Say user is selecting the "Position" in first page ie. comp1-View1. When i click button say "Fill Application". it takes the user to next page to fill the application detail. This is Comp2-View2. After filling the application, when i submit, it takes to next page to show the Application number. This is comp2-View2. Here there is another button say " Apply for abnother position". When you click this button it takes to main page when you can select another position. So I came back to starting page..
So far no issue..
If I click the button "Fill Application" it takes to comp2-view2, instead of Comp2-View1..
I believe its clear..
BM
Hi Bharati,
Go through the tutorial and see how the cross component navigation could be achieved by passing parameter in the Inbound plugs.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845">Cross component Navigation</a>
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.