Hi,
I have 2 BSP Iviews on one Portal Page. I am trying to use the client side eventing from 1 Iview to the other. The Portal is on WAS 6.40 while the BSP's run on WAS 6.20
FOllowing is the brief code
Sender IView
-
EPCMPROXY.storeClientData("urn:com.chep:event1", "name", value);
EPCMPROXY.raiseEvent( "urn:com.chep:event1", "myEvent1", value, null );
Receiver IView
-
EPCMPROXY.subscribeEvent( "urn:com.chep:event1", "myEvent1", window, "get_event");
function get_event( eventObj ) {
var value1 = EPCMPROXY.loadClientData("urn:com.chep:BWEvents", "value");
}
I have included the file epcfproxy.js in both the IVIEWS.
The receiver IVIEW is not getting the values .
Thanks
Anand
Hi Anand,
the most probable thing you did is that you forgot domain relaxing. For this as well as for other issues see Using EPCF in an external HTML as well as the doc link given there.
Hope it helps
Detlev
PS: Please consider rewarding points if it was helpful. Thanks in advance!
Add a comment