Skip to Content
0
Former Member
Apr 08, 2009 at 10:19 AM

Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

18 Views

Dear Experts,

I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.

Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event

String param = "test";
WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);

This the code snippet that is in the jsp page

function notifyTest(param)
{
     // Code to print param value here
}

EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);

Note:

1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.

2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.

Can anyone help to solve this problem?