Skip to Content
Former Member
Sep 02, 2008 at 08:49 AM

EPCM.subscribe doesn't work


Hi all,

I have the next scenario. I open iView2 in a new window from iView1 using:

top.EPCM.doNavigate("ROLES://...iView2", 1);

I want to send a data from iView2 to iView1, so I subscribe the iView1 to an event that raise iView2. The problem is that the event is not caught for iView1.

If iView2 subscribe to the event that himself raise, it works perfectly.

top.EPCM.subscribeEvent("urn", "MyEvent", window, "onMyEvent");
top.EPCM.raiseEvent("urn", "MyEvent", sParam);	

Using Client Data Bag is possible to send/receive datas although it's not a pretty way of doing it.

Any ideas about what can be wrong?