on 11-09-2006 7:04 PM
Hi,
I am having a problem with interface view controller plugs that send parameters between interface view controllers. For example: The outbound plug in interface view controller A is sending a parameter to the inbound plug in interface view controller B. My question is how can I get the value sent to interace view controller B into its correspoding view? Thanks.
Hi Brian,
your scenario is implemented in my Web Dynpro sample application on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation</a>. Therein an integer parameter is transferred across component borders.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for the replies. The scenario is that I have two components(using cross component navigation) inside of one DC where a outbound plug with a parameter is defined in interface view controller A and is triggered from view A. Then in interface controller B there is an inbound plug action which receives this parameter from interface controller A. At that point when interface inbound plug action is fired in interface view controller B, I do have the value of the parameter available in interface view controller B. I need to make it accessible in view B from interface view controller B. So how to get that value into view B after receiving it in interface view controller B is the question. Hope that makes the problem clearer.
I will look into the samples you posted in your replies and let you know what happens. Thanks again.
Hi,
That was a good tutorial. It did allow me to figure out how to get the value over to the view using the Navigation Dispatcher. However, I still have one problem in the views onPlugFromDispatcher method where the value is received: I have to make that value available in the wdDoInit() method of the view.
EX:
public void onPlugInFromDispatcher(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, long pReqId )
{
//is there a way to get this value pReqId available in the wdDoInit of the view or do I have to map context between component controller and the view?
}
Thanks.
Hi,
That means u have two applications.
That scenario u want to send the data from one application to another I mean to say u have to pass the data from first application view to next application.
If this is the scenario u have to do like this.
Create an attribute in the interface controller in first and that interfacecontroller to be added in the second application controller/interface controller here u can mapped from the first application to ur current application and you can utilize but this one way only.
Otherwise u can see this ready use example u can get somethng.
it might helps you.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
Check this link sample application
Regards, Suresh KB
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.