on 06-06-2007 1:24 PM
Hi,
I have two Web Dynpro Applications: AppA, AppB. They're not on the same page.
When a user clicks a button in AppA, application AppB is being displayed in
external window (I am using WDPortalNavigation.navigateAbsolute for this - WDPortalNavigationMode.SHOW_EXTERNAL).
The problem is that I want to send some parameter back to AppA from AppB and also close AppB (when the user clicks a button in AppB).
I've tried using Portal Eventing, but it appears it is not working (the event handler is not being called).
Subscribe in AppA:
WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.test.portal",
"TestEvent",
wdThis.wdGetTestEventAction());
Fire in AppB:
WDPortalEventing.fire("urn:com.sap.tc.webdynpro.test.portal",
"TestEvent",
"paramValueABCD");
Event handler signature in AppA:
public void onActionTestEvent(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent,
java.lang.String dataObject, java.lang.String nameSpace,
java.lang.String name );
Maybe I'm doing something wrong or maybe it isn't possible to do like this?
Regards,
Ladislav.
Hi ,
It is necessary for them to be accessed through
1. Domain name
2. Javascript enabled
3. Should be in the same page.
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.