Hi all,

I'm trying to establish direct communication between two gadgets
loaded on a container. On one gadget, I register a procedure using
gadgets.rpc.register, and on another gadget I invoke gadgets.rpc.call
passing the ID of the first gadget ("remote_iframe_0") and the
registered procedure name.

However, the call seems to never leave the sender gadget as I'm
getting the "No relay set (used as window.postMessage targetOrigin),
cannot send cross-domain message" error from wpm.transport.js.

This, and the "...gadget-to-gadget (thru container) communication..."
from the rpc.js header comment makes me wonder if this scenario is
actually possible (not considering workarounds using pub-sub or
gadget-container-gadget communication)? If not, can someone briefly
explain the reasoning behind not enabling this?

Grateful for any feedback,
Ivan

Reply via email to