on 12-14-2005 8:55 AM
Hi
I have a DC which contains 2 Applications, 2 diiferent components.There is a link in the first application's iview which opens the second application in the content area. I did this using WDPortalNavigation.navigateAbsolute(). Now i want to move some data from second application to the first application. For this i m using Subscribe() and Fire() method in both the iviews as follows:
in the sender (second) application:
WDPortalEventing.fire("urn:com.sap.try.cust", "Code", code);
in the receiver (first) application:
in it's wdDoInit() method:
WDPortalEventing.subscribe("urn:com.sap.try.cust", "Code", wdThis.wdGetReceiveCodeAction());
public void onActionReceiveCode(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String code )
{
//@@begin onActionReceiveCode(ServerEvent)
wdContext.currentContextElement().setCtx_BACode(code);
//@@end
}
the context attribute Ctx_BACode is mapped to UIElement for displaying.
When i run this application, i am able to move from first application to second application, but when i click to send the data to the first application, it doesn't go.
Could anybody please suggest a way about it?
Thanks & regards,
Anupreet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check whether action parameter is mapped to the portal event.
check whether the button preview is pressed in edit mode.
regards
saravana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi anupreet,
check this link
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to program portal eventing
hope this helps,
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
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.