Interwindow communication feature-raise event to parent

[] [] [] [] [] [] [] []

Symptom

This is an additional feature of the EPCM.raiseEvent.
Other terms

EPCM raiseEvent childtoParents interwindow
Reason and Prerequisites

You are using NW2004s SP15 and above
Solution

This feature is to allow sending events from a child window to its parent windows by EPCM.raiseEvent.
The event can be sent in the following way:
1. EPCM.raiseEvent(”urn:com.sapportals.portal:childToParents”, “MyNameSpace&MyEvent”);
Where the parent should subscribe in the following way:
EPCM.subscribeEvent(”MyNameSpace”, “MyEvent”, myHandler);

2. EPCM.raiseEvent(”urn:com.sapportals.portal:childToParents”, “MyEvent”;
Where the parent should subscribe in the following way:
EPCM.subscribeEvent(”urn:com.sapportals.portal:childToParents”, “MyEvent, My Handler);

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment