Hi All,

My dashboard application is up and running in production, thanks to Shindig
and you guys. Due to some serious mistake from QA and IT guys i have a bug
at this last hour as rpc feature is broken in production and my clients are
not so happy.. :(

In production each client has individual subdomains and shindig is deployed
in a common subdomain for all customers, both over https. RPC is now broken
in IE6,7 and setTitle, setHeight ... are not working.

I assigned gadgets.parent in myContainer.js with a regex pattern like

"gadgets.parent" : "(https://localhost:8443|
https://customer1.app.company.com|https://customer2.app.company.com)",

and rpc like

 "rpc" : {
    // Path to the relay file. Automatically appended to the parent
    // parameter if it passes input validation and is not null.
    // This should never be on the same host in a production environment!
    // Only use this for TESTING!
    "parentRelayUrl" : "/app/core/main/rpc_relay.html",

    // If true, this will use the legacy ifpc wire format when making rpc
    // requests.
    "useLegacyProtocol" : false
  }

Now i tried

var parentRelayUrl = window.location.protocol + "//" + window.location.host
gadgets.container.setParentUrl(parentRelayUrl);

from the container js file, which is loaded after loading all required
shindig js file dependencies. Still i am not able to get the rpcs to work
properly in IE6,7. Any help is greatly appreciated as some of my customers
are tied down on IE7.

Best Regards,
Hafiz
-- 
He who asks is a fool for five minutes, but he who does not ask remains a
fool forever.

Reply via email to