When in IE 7, rpc calls work fine after the initial rendering, but when I 
change the view for a gadget to canvas (changing the src of the iframe to the 
new view), the rpc calls don't work anymore.  I tracked the  problem through 
the NIX transport and it appears that the problem is that the gadget tries to 
attach to the NIX channel that the container has already opened when the view 
has changed, but the window.opener property is null (from what I can tell from 
the windows scripting debugger and stepping through).  Since the opener 
property is null, the gadget can't initialize the transport and the rpc code 
sets the transport to the fallbackTransport that just ignores all rpc calls for 
that particular gadget.

Has anyone else experienced this problem?  Or does anyone have suggestions for 
how I change the view on the gadget that might avoid this issue altogether?  Is 
the answer to just dump the iframe rendering approach and switch to caja, since 
I seem to have nothing but problems with the iframes lately?

Thanks,

Steve T.

Reply via email to